-
Notifications
You must be signed in to change notification settings - Fork 532
Fix for Eddy-Wrapper does not work properly #769 #785
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
@@ -316,7 +316,8 @@ class EddyInputSpec( FSLCommandInputSpec ): | |||
|
|||
|
|||
session = File(exists=True, desc='File containing session indices for all volumes in --imain', argstr='--session=%s' ) | |||
in_topup = File(exists=True, desc='Base name for output files from topup', argstr='--topup=%s' ) | |||
in_topup = traits.Str('topup_basename', desc='Base name for output files from topup', | |||
argstr='--topup=%s', usedefault=False) |
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.
@JensNRAD - i believe chris' suggestion was to break this into two inputs
in_topup_fieldcoef = File(exists=True, argstr="--topup=%s", requires=['in_topup_movpar'], ...)
and
in_topup_movpar = File(exists=True, requires=['in_topup_fieldcoef'], ...)
note the lack of argstr here.
and then overwrite format_args
if name == 'in_topup_fieldcoeff`:
return spec.argstr % value.split('_fieldcoef')[0]
@satra Hi I changed it according to your suggestion. |
… directory when running in a workflow
a workflow fix, auto tests and some PEP8 changes
@JensNRAD - do these fixes work for you? i actually did them blindly without testing. |
As far as I can tell the only difference you introduced is the copyfile=False setting (and the adjusted test file), right? It still works, as before, generating this warning
|
that warning is fine - it's because of the |
Fix for Eddy-Wrapper does not work properly #769
No description provided.