Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Master to Pastas 1.2 #619

Merged
merged 20 commits into from
Aug 17, 2023
Merged

Update Master to Pastas 1.2 #619

merged 20 commits into from
Aug 17, 2023

Conversation

raoulcollenteur
Copy link
Member

@raoulcollenteur raoulcollenteur commented Aug 17, 2023

Short Description

Update the master branch to Pastas 1.2. Should good to go after merging #618 into dev.

Checklist before PR can be merged:

  • is documented
  • Format code with Black formatting
  • type hints for functions and methods
  • tests added / passed
  • Example Notebook (for new features)
  • Remove output for all notebooks with changes

dbrakenhoff and others added 18 commits May 12, 2023 17:15
- improve simulation has NaNs msg to include example code for stressmodel settings
- add traps for method is None in fill_before and fill_after, raise ValueError
- avoid issues with trailing or leading NaNs in time series by setting tmin/tmax to first/last valid index
- add more informative error message when weights and observations are not same length
- improve msg formatting
no longer needed since Numba v0.57
Because the metrics can also be used directly without Pastas as well :-)
@codacy-production
Copy link

codacy-production bot commented Aug 17, 2023

Coverage summary from Codacy

Merging #619 (1906713) into master (5424a28) - See PR on Codacy

Coverage variation Diff coverage
-0.27% (target: +0.00%) 73.98%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (5424a28) 4955 3599 72.63%
Head commit (1906713) 5138 (+183) 3718 (+119) 72.36% (-0.27%)

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#619) 269 199 73.98%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Copy link
Member

@dbrakenhoff dbrakenhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, a few very minor comments.

@raoulcollenteur raoulcollenteur merged commit f0df7e1 into master Aug 17, 2023
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants