File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3005,7 +3005,8 @@ class Gennlxfm(CommandLine):
3005
3005
3006
3006
def _list_outputs (self ):
3007
3007
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' ])
3009
3010
return outputs
3010
3011
3011
3012
@@ -3674,6 +3675,7 @@ def _list_outputs(self):
3674
3675
# Have to manually check for the grid files.
3675
3676
if os .path .exists (outputs ['trans_file' ]):
3676
3677
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' ])
3678
3680
3679
3681
return outputs
You can’t perform that action at this time.
0 commit comments