NOTICE! This is a static HTML version of a legacy LOCI Software ticket.

LOCI projects are now located on GitHub. The Bio-Formats project can be found here.

Ticket #578 (closed defect: fixed)

Opened 2010-10-05T17:59:26-05:00

Last modified 2010-10-13T14:56:20-05:00

bfconvert does not properly overwrite or append to files

Reported by: melissa Owned by: melissa
Priority: major Milestone: bio-formats-4.2.1
Component: bio-formats Severity: serious
Keywords: Cc: ruben.munoz@…
Blocked By: Blocking:


To reproduce:

bfconvert data/pcx/generated/mri-stack0.pcx test.ome.tiff
bfconvert data/pcx/generated/mri-stack1.pcx test.ome.tiff
bfconvert data/pcx/generated/mri-stack2.pcx test.ome.tiff

Select 'y' when prompted to overwrite the existing output file. Note that after each call to bfconvert, test.ome.tiff gets larger; however, only one IFD is present in the file.

It is expected that either the output file is completely overwritten (so it should be approximately the same size after each call), or that the output file is appended to after each call (so it should contain 3 IFDs).

Change History

comment:1 Changed 2010-10-13T14:56:20-05:00 by melissa

  • Status changed from new to closed
  • Resolution set to fixed

(In [7072]) Using bfconvert with an existing output file will now cause that output file to be completely overwritten, unless you answer 'n' to the 'Do you want to overwrite...' prompt. Closes #578.