Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions nipype/interfaces/afni/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -2492,6 +2492,14 @@ class TProjectInputSpec(AFNICommandInputSpec):
even if -ort contains constant terms, as all means are
removed.""",
argstr="-polort %d")
dsort = File(
desc="""Remove the 3D+time time series in dataset fset.
++ That is, 'fset' contains a different nuisance time
series for each voxel (e.g., from AnatICOR).
++ Multiple -dsort options are allowed.""",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since multiple -dsort options are allowed, let's allow multiple files.

Here's an example, but you'll want to use InputMultiObject instead of InputMultiPath

series_numbers = InputMultiPath(
traits.Str(),
argstr='-n %s...',

argstr='-dsort %s',
exists=True,
copyfile=False)
bandpass = traits.Tuple(
traits.Float, traits.Float,
desc="""Remove all frequencies EXCEPT those in the range""",
Expand Down