Skip to content

Commit 71d1269

Browse files
Formatting for PEP8.
1 parent efd3850 commit 71d1269

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

nipype/interfaces/minc/minc.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,7 +3005,8 @@ class Gennlxfm(CommandLine):
30053005

30063006
def _list_outputs(self):
30073007
outputs = super(Gennlxfm, self)._list_outputs()
3008-
outputs['output_grid'] = re.sub('.(nlxfm|xfm)$', '_grid_0.mnc', outputs['output_file'])
3008+
outputs['output_grid'] = re.sub(
3009+
'.(nlxfm|xfm)$', '_grid_0.mnc', outputs['output_file'])
30093010
return outputs
30103011

30113012

@@ -3674,6 +3675,7 @@ def _list_outputs(self):
36743675
# Have to manually check for the grid files.
36753676
if os.path.exists(outputs['trans_file']):
36763677
if 'grid' in open(outputs['trans_file'], 'r').read():
3677-
outputs['output_grid'] = re.sub('.(nlxfm|xfm)$', '_grid_0.mnc', outputs['trans_file'])
3678+
outputs['output_grid'] = re.sub(
3679+
'.(nlxfm|xfm)$', '_grid_0.mnc', outputs['trans_file'])
36783680

36793681
return outputs

0 commit comments

Comments
 (0)