-
Notifications
You must be signed in to change notification settings - Fork 532
ENH: Interfaces for MINC tools. #1304
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
Could you rebase/ merge master? This would make the tests run correctly. |
Did a rebase master, pull, push. Should be ok now. |
Are you sure you pulled from nipy/nipype master? Did you push? The changes don't show on github. |
All tests pass now. |
@carlohamalainen - one more quick change, could you please add an ENH line to the CHANGES file and point it to this PR URL. |
@satra Done. |
@carlohamalainen - one more set of changes - this may take a bit of time. we just went through an extensive PEP8 compliance PR for most of nipype. could we try to make as much of these files PEP8 compliant. the one PEP8 that i'm reasonably ok with violating is the hard 79 character limit. i'm ok with a fuzzy boundary on this as long as it improves readability. in many cases you can get by with running automated tools such as autoflake8. but do be careful as some numerical processing things can get botched. |
@satra autopep8 plus some manual edits did the trick. The only rule that is violated is the 79 character line limit. |
@carlohamalainen - thanks for the pep8 fixes. github not showing the minc.py file is making this review a little more cumbersome. here are a few more things:
for the desc field you can turn a string to a tuple like this: nipype/nipype/interfaces/fsl/preprocess.py Line 1500 in f9c98ba
|
Why isn't github showing minc.py? Anyway:
I also had a |
http://carlo-hamalainen.net | ||
""" | ||
|
||
from nipype.interfaces.base import ( |
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.
should be a relative import
@satra Imports are now relative. |
thanks @carlohamalainen the reason that file is not showing is because the diff is greater than 100KB. github has some weird limitations. here are a few more things to consider:
can be simplified with http://www.mit.edu/~satra/nipype-nightly/devel/cmd_interface_devel.html#creating-outputs-on-the-fly
the following link and notebook should help with explaining these metadata concepts. http://www.mit.edu/~satra/nipype-nightly/devel/interface_specs.html http://nbviewer.ipython.org/urls/dl.dropbox.com/s/mxud29oj2mxid6o/nipype_dev_tutorial.ipynb |
|
yes, CWD. If just a filename is given. a
|
thanks. the last bit that's needed is a then in the main nipype directory do: it will run everything and add a bunch of auto generated spec tests in the |
Do I need to commit the changes to I've added tests directory etc. Currently doing more tests with my volgenmodel workflow to make sure that everything's ok. |
OK, volgenmodel workflow works, tests updated, should be good to go? |
I wrote NiPype interfaces for some MINC tools when I ported volgenmodel to NiPype (https://github.com/carlohamalainen/volgenmodel-nipype).
Recently Chris Filo Gorgolewski asked me to submit a PR of my MINC interfaces as he is working on wrapping other MINC tools.
(This PR is a redo of #1302 in which I committed some large test files and then couldn't get github to drop the history with a rebase/squash.)