-
Notifications
You must be signed in to change notification settings - Fork 533
RF: Redirect nipype.workflows to niflow.nipype1.workflows #3067
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
Codecov Report
@@ Coverage Diff @@
## master #3067 +/- ##
==========================================
+ Coverage 67.7% 68.19% +0.48%
==========================================
Files 344 297 -47
Lines 44112 39775 -4337
Branches 5563 5211 -352
==========================================
- Hits 29866 27124 -2742
+ Misses 13481 11941 -1540
+ Partials 765 710 -55
Continue to review full report at Codecov.
|
I feel like this would be a good one to get in for RC1, as it has the chance to break things for people, so finding those before the final release would be good. |
i like it and a question. how are we dealing with circularity? we are installing nipype and these niflows require nipype. |
Niflows depend on nipype, nipype will detect them at runtime, so there isn't an installation circularity. For the purpose of testing on docker, it installs the latest release and then installs the current source on top of that. We could just as easily post-install the niflows. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, would be nice to include an extra_requires
that automatically installs niflow.nipype1.workflows
but this might be circular
Yeah, that would be circular, though it's possible pip is more relaxed for extras. I also don't want to encourage people to continue using this API, so making it a little difficult is fine with me. |
Summary
Imports from niflow-nipype1-workflows, adding the available modules to
sys.modules
under their old names, so that code that currently imports viaimport nipype.workflows.X
orfrom nipype.workflows.Y import Z
should continue to work.Closes #2991.
Acknowledgment