ulisesrey / imutils

0 stars 0 forks source link

ometiff2bigtiff overwrites bigtiff if there are no ometiffs #9

Closed ulisesrey closed 1 year ago

ulisesrey commented 1 year ago

If one has run the code on a folder, and generated a btf from the ome tiff files AND then deleted the ometiffs AND then by mistake rerun the ometiff2bigtiff function on that folder, the code will overwrite the current .btf by an empty one thus loosing the data.

A if statement to check if the directory has ome.tiffs should be added to the imutils.ometiff2bigtiff()