Skip to content

Commit 1a0f954

Browse files
committed
Supply input file name in log messages
1 parent 2c604ed commit 1a0f954

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/imcflibs/imagej/misc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -733,9 +733,9 @@ def run_imarisconvert(file_path, pixel_calibration=None, output_folder=""):
733733
timed_log("Converting to Imaris5 .ims...")
734734
result = subprocess.call(command, shell=True, cwd=imaris_path)
735735
if result == 0:
736-
timed_log("Conversion to .ims is finished.")
736+
timed_log("Conversion to .ims is finished: %s" % file_path)
737737
else:
738-
timed_log("Conversion failed with error code: %d" % result)
738+
timed_log("Error converting [%s]: %d" % (file_path, result))
739739

740740

741741
def save_script_parameters(destination, save_file_name="script_parameters.txt"):

0 commit comments

Comments
 (0)