[Bug]: warning for incorrect data shape for dataset of references #1191
Labels
category: bug
errors in the code or code behavior
priority: medium
non-critical problem and/or affecting only a small set of users
Milestone
What happened?
When running
Images
roundtrip tests,get_dimension_labels_from_spec
returns a warning because the shape of theImageReferences dataset does not match the shape of the spec.
The shape of image references is calculated from
get_data_shape
as[num_images, x, y]
, where x, y are the shape of the image data, while the shape expected fromImageReferences
in the schema is[num_images]
.Steps to Reproduce
Traceback
Operating System
macOS
Python Executable
Conda
Python Version
3.12
Package Versions
No response
The text was updated successfully, but these errors were encountered: