Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FIX: Use interpolation/method in numpy.percentile as available #3506

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

Merged
effigies merged 1 commit into nipy:master from effigies:fix/flexible_numpy
Sep 20, 2022

Conversation

@effigies
Copy link
Member

@effigies effigies commented Sep 14, 2022

Bug introduced in #3489. Numpy 1.22 introduced method and deprecated interpolation in a single shot. Typically, they deprecate a few versions after they introduce an alternative, so I missed this and now things that have pinned, e.g., numpy 1.21 are going to break on nipype.

Copy link

codecov bot commented Sep 14, 2022
edited
Loading

Codecov Report

Base: 65.26% // Head: 65.25% // Decreases project coverage by -0.00% ⚠️

Coverage data is based on head (188ebbd) compared to base (fd39c1f).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@ Coverage Diff @@
## master #3506 +/- ##
==========================================
- Coverage 65.26% 65.25% -0.01% 
==========================================
 Files 309 309 
 Lines 40870 40873 +3 
 Branches 5380 5380 
==========================================
+ Hits 26672 26673 +1 
- Misses 13124 13126 +2 
 Partials 1074 1074 
Flag Coverage Δ
unittests 65.03% <50.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
nipype/algorithms/confounds.py 67.17% <50.00%> (-0.18%) ⬇️

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 Author

@mgxd Would you mind giving this a quick glance?

Copy link
Member

@mgxd mgxd left a comment

Choose a reason for hiding this comment

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

lgtm - is this something we should track and remove once 1.22 becomes the minimum?

Copy link
Member Author

I generally try to grep for PY strings when bumping minimum Python and NP strings when bumping minimum numpy, so the comment there is my tracking plan.

mgxd reacted with thumbs up emoji

@effigies effigies merged commit 4d51686 into nipy:master Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mgxd mgxd mgxd approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /