File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
nipype/workflows/smri/freesurfer Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -383,12 +383,12 @@ def copy_files(in_files, out_files):
383383 import shutil
384384 import sys
385385 if len (in_files ) != len (out_files ):
386- print "ERROR: Length of input files must be identical to the length of \
387- outrput files to be copied"
386+ print ( "ERROR: Length of input files must be identical to the length of " +
387+ " outrput files to be copied")
388388 sys .exit (- 1 )
389389 for i , in_file in enumerate (in_files ):
390390 out_file = out_files [i ]
391- print "copying %s to %s" % (in_file , out_file )
391+ print ( "copying {0} to {1}" . format (in_file , out_file ) )
392392 shutil .copy (in_file , out_file )
393393 return out_files
394394
@@ -405,7 +405,7 @@ def copy_file(in_file, out_file=None):
405405 in_file = in_file [0 ]
406406 out_file = os .path .abspath (out_file )
407407 in_file = os .path .abspath (in_file )
408- print "copying %s to %s" % (in_file , out_file )
408+ print ( "copying {0} to {1}" . format (in_file , out_file ) )
409409 shutil .copy (in_file , out_file )
410410 return out_file
411411
You can’t perform that action at this time.
0 commit comments