@@ -710,12 +710,12 @@ def run_imarisconvert(file_path, pixel_calibration=None):
710710 )
711711
712712 log .debug ("\n %s" % command )
713- IJ . log ("Converting to Imaris5 .ims..." )
713+ timed_log ("Converting to Imaris5 .ims..." )
714714 result = subprocess .call (command , shell = True , cwd = imaris_path )
715715 if result == 0 :
716- IJ . log ("Conversion to .ims is finished." )
716+ timed_log ("Conversion to .ims is finished." )
717717 else :
718- IJ . log ("Conversion failed with error code: %d" % result )
718+ timed_log ("Conversion failed with error code: %d" % result )
719719
720720
721721def save_script_parameters (destination , save_file_name = "script_parameters.txt" ):
@@ -740,7 +740,7 @@ def save_script_parameters(destination, save_file_name="script_parameters.txt"):
740740 # Get the ScriptModule object from globals made by Fiji
741741 module = globals ().get ("org.scijava.script.ScriptModule" )
742742 if module is None :
743- IJ . log ("No ScriptModule found - skipping saving script parameters." )
743+ timed_log ("No ScriptModule found - skipping saving script parameters." )
744744 return
745745
746746 destination = str (destination )
@@ -769,4 +769,4 @@ def save_script_parameters(destination, save_file_name="script_parameters.txt"):
769769 val = inputs .get (key )
770770 f .write ("%s: %s\n " % (key , str (val )))
771771
772- print ("Saved script parameters to: %s" % out_path )
772+ timed_log ("Saved script parameters to: %s" % out_path )
0 commit comments