bioio icon indicating copy to clipboard operation
bioio copied to clipboard

timeseries writer tests break in actual use

Open SeanDuHare opened this issue 2 years ago • 0 comments

Describe the Bug

The first and third tests which are commented out here (on test_timeseries_writer ) fail when uncommented because the data array created has inconsistent shapes for the frames output from the imageio reader.

Expected Behavior

The tests run as expected and the DefaultReader is able to read an image created with the parameters of those tests.

Reproduction

This is reproducible in aicsimageio version 4.11.0 if you add reader.dask_data.compute() or reader.data to the same test which effectively does what the test in bioio is doing (stitches multi-frame images together and stacks them). The resulting error in both cases is the same: ValueError: could not broadcast input array from shape (100,100,4) into shape (1,100,100) It appears all frames are the same shape in this case except the first one.

Environment

  • OS Version: macOS 12.6.6
  • bioio Version: developer branch feature/add-writers @ commit hash ______

SeanDuHare avatar Jul 10 '23 16:07 SeanDuHare