-
Notifications
You must be signed in to change notification settings - Fork 533
[ENH] Remove warnings in tSNR calculation #1234
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
@@ -262,6 +262,11 @@ class TSNRInputSpec(BaseInterfaceInputSpec): | |||
in_file = InputMultiPath(File(exists=True), mandatory=True, | |||
desc='realigned 4D file or a list of 3D files') | |||
regress_poly = traits.Range(low=1, desc='Remove polynomials') | |||
tsnr_file = File('tsnr.nii.gz', usedefault=True, desc='output tSNR file') |
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.
since these are all output_files, we should add hash_files=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.
actually could we use name_source
and name_template
here? i'm not sure though whether they work for all types of interfaces. hopefully then do.
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.
Unfortunately, name_source
& co. are only defined for CommandLine
by making things default and not being able to use |
please rebase/merge master - we have fixed the CircleCI tests |
Ok, I'll remove the inputs/outputs stuff, so that the default parameters using name_source will be done on #1240 . |
Ok, I have started a list on #1240 with those interfaces that should be revised when I think we should review and merge this for now, and come back to the |
Good to go? |
[ENH] Remove warnings in tSNR calculation
Also simplified the interface using default inputs.