Skip to content

Commit

Permalink
Preserve input path during conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
andreped committed Sep 3, 2024
1 parent bce461d commit f1e3fcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsi2tif/src/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ def cellsens2tif_batch(
# perform conversion in separate processes
for root, file in tqdm(paths):
curr_input_path = os.path.join(root, file)
curr_output_path = os.path.join(output_path, output_path.split(root)[0], file).replace(".vsi", ".tif")
curr_output_path = (output_path + "/" + curr_input_path.split(input_path)[-1]).replace(".vsi", ".tif")

cellsens2tif(curr_input_path, curr_output_path, bfconvert, compression, tz, plane, quality, max_mem, verbose)

0 comments on commit f1e3fcd

Please sign in to comment.