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

Fix future warning #301

Merged
merged 3 commits into from
Sep 25, 2022
Merged

Fix future warning #301

merged 3 commits into from
Sep 25, 2022

Conversation

feldmann-m
Copy link
Contributor

fixed future warning from scikit-image

@pierrejavelle
Copy link
Contributor

The pull request is not describing the issue it is trying to solve.

@feldmann-m
Copy link
Contributor Author

Scikit image raises a future warning when using the keyword "selem" in the h_maxima function. This has been replaced with "footprint", which is the new name for this keyword.

@codecov
Copy link

codecov bot commented Aug 28, 2022

Codecov Report

Base: 82.71% // Head: 82.71% // No change to project coverage 👍

Coverage data is based on head (ab6a53d) compared to base (94a11b3).
Patch coverage: 100.00% of modified lines in pull request are covered.

❗ Current head ab6a53d differs from pull request most recent head 64ff839. Consider uploading reports for the commit 64ff839 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #301    /-   ##
=======================================
  Coverage   82.71%   82.71%           
=======================================
  Files         160      160           
  Lines       12292    12292           
=======================================
  Hits        10167    10167           
  Misses       2125     2125           
Flag Coverage Δ
unit_tests 82.71% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
pysteps/feature/tstorm.py 94.40% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@dnerini dnerini left a comment

Choose a reason for hiding this comment

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

Very nice, thanks a lot @feldmann-m !

One small detail: the new argument name won't work for scikit-image < 0.19, therefore I suggest that you specify this minimum version in the documentation:

in the file pysteps/doc/source/user_guide/install_pysteps.rst
please specify scikit-image >= 0.19

@dnerini dnerini changed the title fixed future warning Fix future warning Sep 25, 2022
@dnerini dnerini merged commit 3905274 into master Sep 25, 2022
@dnerini dnerini deleted the futurewarning branch September 25, 2022 20:42
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.

3 participants