@@ -118,10 +118,10 @@ def dump(self, new_dict, parents=None):
118118 if 'pipeline_setup' not in new_dict :
119119 new_dict ['pipeline_setup' ] = None
120120 # Insert automatically-changed value in original dict
121- if freesurfer_extraction :
122- new_dict = set_nested_value (
123- new_dict , ['surface_analysis' , 'freesurfer' ,
124- 'run_reconall' ], False )
121+ # if freesurfer_extraction:
122+ # new_dict = set_nested_value(
123+ # new_dict, ['surface_analysis', 'freesurfer',
124+ # 'run_reconall'], False)
125125 ingress_keys = ['surface_analysis' , 'freesurfer' , 'ingress_reconall' ]
126126 try :
127127 self .get_nested (new_dict , ingress_keys )
@@ -150,12 +150,7 @@ def dump(self, new_dict, parents=None):
150150 value = self .get_nested (new_dict , keys )
151151 except KeyError : # exclude unincluded keys
152152 continue
153- # Add comment for automatically changed value
154- if (keys == ['surface_analysis' , 'freesurfer' , 'run_reconall' ] and
155- freesurfer_extraction ):
156- if comment is None :
157- comment = []
158- comment .append (f'# { DOUBLERUN_GUARD_MESSAGE } ' )
153+
159154 # Print comment if there's one above this key in the template
160155 if comment :
161156 if key != 'pipeline_setup' :
0 commit comments