Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

timeseries writer tests break in actual use #10

Open
SeanLeRoy opened this issue Jul 10, 2023 · 0 comments
Open

timeseries writer tests break in actual use #10

SeanLeRoy opened this issue Jul 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@SeanLeRoy
Copy link
Contributor

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 ______
@SeanLeRoy SeanLeRoy added the bug Something isn't working label Jul 10, 2023
@SeanLeRoy SeanLeRoy self-assigned this Nov 9, 2023
@SeanLeRoy SeanLeRoy removed their assignment Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant