We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22ef063 commit 4271c90Copy full SHA for 4271c90
nipype/interfaces/spm/preprocess.py
@@ -225,14 +225,13 @@ def _list_outputs(self):
225
if os.path.exists(newfile):
226
realigned_run.append(newfile)
227
continue
228
- if idx==0 and i == 0 and not reg_to_mean and \
229
- func_is_3d(inner_imgf):
+ if idx==0 and i == 0 and func_is_3d(inner_imgf):
230
realigned_run.append(fname_presuffix(inner_imgf,
231
prefix=''))
232
else:
233
realigned_run = fname_presuffix(imgf,
234
prefix=self.inputs.out_prefix)
235
- if idx==0 and not reg_to_mean and func_is_3d(imgf):
+ if idx==0 and func_is_3d(imgf):
236
realigned_run = fname_presuffix(imgf, prefix='')
237
outputs['realigned_files'].append(realigned_run)
238
return outputs
0 commit comments