Skip to content

trait changes in RealignInputSpec (fixes #2120) #2350

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

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion doc/users/config_file.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Resource Monitor
Indicates where the summary file collecting all profiling information from the
resource monitor should be stored after execution of a workflow.
The ``summary_file`` does not apply to interfaces run independently.
(unset by default, in which case the summary file will be written out to
(unset by default, in which case the summary file will be written out to
``<base_dir>/resource_monitor.json`` of the top-level workflow).

*summary_append*
Expand Down
4 changes: 2 additions & 2 deletions doc/users/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ Optional arguments::
exceed the total amount of resources available (memory and threads), when
``False`` (default), only a warning will be issued.

maxtasksperchild : number of nodes to run on each process before refreshing
maxtasksperchild : number of nodes to run on each process before refreshing
the worker (default: 10).


To distribute processing on a multicore machine, simply call::

Expand Down
157 changes: 0 additions & 157 deletions nipype/interfaces/ants/tests/test_auto_Registration.py

This file was deleted.

61 changes: 0 additions & 61 deletions nipype/interfaces/niftyseg/tests/test_auto_PatchMatch.py

This file was deleted.

8 changes: 3 additions & 5 deletions nipype/interfaces/spm/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,9 @@ def _list_outputs(self):


class RealignInputSpec(SPMCommandInputSpec):
in_files = InputMultiPath(traits.Either(traits.List(
ImageFileSPM(exists=True)),
ImageFileSPM(exists=True)), field='data',
mandatory=True, copyfile=True,
desc='list of filenames to realign')
in_files = InputMultiPath(ImageFileSPM(exists=True),
field='data', desc='list of files to realign',
mandatory=True, copyfile=False)
Copy link
Member

Choose a reason for hiding this comment

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

Copyfile=True?

jobtype = traits.Enum('estwrite', 'estimate', 'write',
desc='one of: estimate, write, estwrite',
usedefault=True)
Expand Down
2 changes: 1 addition & 1 deletion nipype/interfaces/spm/tests/test_auto_Realign.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_Realign_inputs():
nohash=True,
usedefault=True,
),
in_files=dict(copyfile=True,
in_files=dict(copyfile=False,
field='data',
mandatory=True,
),
Expand Down