-
Notifications
You must be signed in to change notification settings - Fork 3
FIX: Correctly pin niworkflows branch and use new interface #25
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
|
Best reviewed: commit by commit
Optimal code review plan (1 warning)
|
| import os | ||
| from multiprocessing import cpu_count | ||
| from pkg_resources import resource_filename as pkgr_fn | ||
| from packaging.version import parse as parseversion, Version |
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.
cleaning up some stuff that is not ever used anymore
| # niworkflows | ||
| from niworkflows.interfaces.ants import ImageMath | ||
| from niworkflows.utils.images import resample_by_spacing | ||
| from niworkflows.interfaces.images import RegridToZooms |
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.
this is the new interface
setup.cfg
Outdated
| nipype @ git+https://github.com/nipy/nipype.git@master | ||
| niworkflows @ git+https://github.com/nipreps/niworkflows.git@master | ||
| templateflow >= 0.5.2 | ||
| niworkflows @ git+https://github.com/oesteban/niworkflows.git@enh/resample-interface |
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.
this is the right way of pinning the new branch
91d9b41 to
1ddc0c1
Compare
tidying up for consistency

Turns out there is a fully-fledged nipype interface for the resampling. Here I just switch to that.