-
Notifications
You must be signed in to change notification settings - Fork 532
Topup output not found #796
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
Comments
this is being fixed here: |
Thank you Satra. Can you tell me when is going to be in the new version of nipype ? Maybe 0.9.3 ? |
definitely in 0.9.3 - it should be in master soon. we'll see if we can release 0.9.3 by end of february. there are a few other things that need to happen as well. |
The output 'out_fieldcoef' is assigned here: https://github.com/nipy/nipype/blob/master/nipype/interfaces/fsl/epi.py#L222 using the Is this happening to you with other interfaces of FSL? |
@arnaudbore Did you find out the problem? |
@oesteban - i think this was fixed in #794 @arnaudbore - did you check? |
* TOPUP: regarding nipy#794, nipy#796 I've cleaned up the docstring and implemented the three arguments that were still missing. The problem is that TOPUP admits one or more values for them, so the implementation of all the traits should be updated. * Eddy: the implementation of @JensNRAD seems to work out, I reviewed the docstring. Close nipy#769. * Added deprecation notices and minor fixes.
I don't think it's been fixed. I just pulled master and still get a FileNotFoundError because it's looking for the fieldcoef file in the current directory rather than the directory specified in out_base (which is where the fieldcoef file actually is). |
That's a bright hypothesis, I did not think of out_base. I'm currently looking at this. Thanks @rfdougherty . EDIT: ok, yes, a fast doctest writing out_base shows that the outputs are not updated. |
@satra this is the diagnostic: we have two input traits that should I've thought of two solutions:
|
Submitted a fix, using option 2). If inputs are not changed during parsing, it should work out. |
@rfdougherty and @oesteban - could you take a look at this notebook before we make any changes? http://nbviewer.ipython.org/urls/dl.dropbox.com/s/l84fgl333fperqb/Eddy.ipynb?dl=0 this workflow ran fine for me. i'll run it again to make sure things haven't changed. |
Hi Satra, Everything does work fine if cwd == out_base. Reading through your workflow, it seems that's how you run it. E.g., " merged_file = os . path . join ( os . getcwd (), 'merged.nii.gz' )". But it will fail if out_base != cwd. cheers, Robert F. Dougherty, PhD ----- Original Message ----- From: "Satrajit Ghosh" [email protected] @rfdougherty and @oesteban - could you take a look at this notebook before we make any changes? http://nbviewer.ipython.org/urls/dl.dropbox.com/s/l84fgl333fperqb/Eddy.ipynb?dl=0 this workflow ran fine for me. i'll run it again to make sure things haven't changed. — |
thanks @rfdougherty: narrowed it to this - the only thing that's different here is that out_base is specified as a location somewhere:
we need to do two things:
|
results from 1. topup doesn't appear to like it when out contains a location that doesn't exist. so we have to be careful how this interface gets redesigned. i'm now running it with the same command as below, but having created
|
so this works:
but the root directory ( i'll move over to the PR for comments now, but i think this can be tackled with a simpler change. |
I think this is fixed |
Dear nipype experts,
When I run topup it looks for a ".nii.gz" file as output 'out_fieldcoef'.
Because all my FSL settings are in ".nii" file it doesn't find anything and then crashes.
Thank you for your help.
Arnaud
The text was updated successfully, but these errors were encountered: