-
Notifications
You must be signed in to change notification settings - Fork 532
ENH: Modify Directory
and File
traits to get along with pathlib
#2959
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
Conversation
looks like a reasonable PR. the File trait should take the |
Codecov Report
@@ Coverage Diff @@
## master #2959 +/- ##
=========================================
- Coverage 64.24% 64.2% -0.04%
=========================================
Files 342 342
Lines 43692 43727 +35
Branches 5453 5465 +12
=========================================
+ Hits 28068 28074 +6
- Misses 14545 14562 +17
- Partials 1079 1091 +12
Continue to review full report at Codecov.
|
…to new ``ImageFile``
@oesteban - do we really need to enable |
I'm thinking it should be enabled only if the default value is given. |
@oesteban That's counter to how all of the other traits work, which require manual enabling of |
The current implementation of interfaces setting a default value on |
Oh, fun. |
i don't think this is true.
and when
|
Okay, yes, I double-checked and realized I was misinterpreting one test. Reverting. |
dipy==0.15 apparently breaks almost all tests dipy==0.14 breaks only one test (added skip condition) dipy==0.16 (latest today) seems to work alright.
It's pretty unclear what are the necessary changes and which ones were done while you were at it. If the new trait is a drop-in replacement, then all the SPM/AFNI changes are superfluous. If not, then are we breaking downstream code? |
Closed in favor of #2962 |
Ref #2944
Summary
Fixes # .
List of changes proposed in this PR (pull-request)
Acknowledgment