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):
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
You can’t perform that action at this time.
0 commit comments