Skip to content

Applymask #1429

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

Merged
merged 2 commits into from
Apr 12, 2016
Merged
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
5 changes: 0 additions & 5 deletions nipype/interfaces/freesurfer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -527,11 +527,6 @@ class ApplyMask(FSCommand):
input_spec = ApplyMaskInputSpec
output_spec = ApplyMaskOutputSpec

def _list_outputs(self):
outputs = self._outputs().get()
outputs["out_file"] = os.path.abspath(self.inputs.out_file)
return outputs


class SurfaceSnapshotsInputSpec(FSTraitedSpec):

Expand Down
6 changes: 3 additions & 3 deletions nipype/workflows/smri/freesurfer/recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def link_masks(subjects_dir, subject_id):
def create_reconall_workflow(name="ReconAll", plugin_args=None,
recoding_file=None):
"""Creates the ReconAll workflow in nipype.

Example
-------
>>> from nipype.workflows.smri.freesurfer import create_skullstripped_recon_flow
Expand Down Expand Up @@ -200,7 +200,7 @@ def checkarg(arg, default):
'lookup_table',
'wm_lookup_table',
'awk_file']

config_node = pe.Node(niu.Function(params,
params,
setconfig),
Expand Down Expand Up @@ -509,7 +509,7 @@ def completemethod(datasinked_files, subject_id):
reconall.connect([(datasink, completion, [('out_file', 'datasinked_files')]),
(inputspec, completion, [('subject_id', 'subject_id')]),
(completion, postds_outputspec, [('subject_id', 'subject_id')])])


#### Workflow additions go here
if recoding_file:
Expand Down