Skip to content

Commit 1ec5bf0

Browse files
author
David Ellis
committed
FIX: Changes presurf_seg to not being mandatory.
1 parent 9057ffa commit 1ec5bf0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

nipype/interfaces/freesurfer/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ class SegStatsReconAllInputSpec(SegStatsInputSpec):
780780
# implicit
781781
ribbon = traits.File(mandatory=True, exists=True,
782782
desc="Input file mri/ribbon.mgz")
783-
presurf_seg = File(mandatory=True, exists=True,
783+
presurf_seg = File(exists=True,
784784
desc="Input segmentation volume")
785785
transform = File(mandatory=True, exists=True,
786786
desc="Input transform file")

nipype/workflows/smri/freesurfer/ba_maps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def create_ba_maps_wf(name="Brodmann_Area_Maps", th3=True, exvivo=True,
103103
for i,label in enumerate(source_fields):
104104
ba_WF.connect([(source_subject, merge_labels, [(label, 'in{0}'.format(i+1))])])
105105

106-
node = pe.MapNode(Label2Label(), name=node_name,
106+
node = pe.MapNode(Label2Label(), name=node_name + '_Label2Label',
107107
iterfield=['source_label', 'out_file'])
108108
node.inputs.hemisphere = hemisphere
109109
node.inputs.out_file = out_files

0 commit comments

Comments
 (0)