-
Notifications
You must be signed in to change notification settings - Fork 533
ENH: added 'hsvs' option to 5ttgen + mrtransform fix #3630
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
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -224,13 +224,14 @@ class Generate5ttInputSpec(MRTrix3BaseInputSpec): | |
"fsl", | ||
"gif", | ||
"freesurfer", | ||
"hsvs", | ||
argstr="%s", | ||
position=-3, | ||
mandatory=True, | ||
desc="tissue segmentation algorithm", | ||
) | ||
in_file = File( | ||
exists=True, argstr="%s", mandatory=True, position=-2, desc="input image" | ||
exists=False, argstr="%s", mandatory=True, position=-2, desc="input image" | ||
) | ||
out_file = File(argstr="%s", mandatory=True, position=-1, desc="output image") | ||
|
||
|
@@ -822,7 +823,7 @@ class MRTransformInputSpec(MRTrix3BaseInputSpec): | |
) | ||
invert = traits.Bool( | ||
argstr="-inverse", | ||
position=1, | ||
position=2, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This means There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I removed the position change for now, but I just added this previously because if I wanted to use -inverse with some other parameter and they both had 'position=1' then only one would show up on the command. But it can also be fixed by just using inputs.args string. |
||
desc="Invert the specified transform before using it", | ||
) | ||
linear_transform = 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.
So it seems like you need either a file or a directory, not a missing 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.
Thanks! I added this solution now. :)