Ticket #578 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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:

Description

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 9 years ago 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.

Note: See TracTickets for help on using tickets.