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

Update h5ad datatype #17574

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/galaxy/datatypes/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -1565,7 +1565,7 @@ def _layercountsize(tmp, lennames=0):
# Shape we determine here due to the non-standard representation of 'X' dimensions
shape = anndata_file["X"].attrs.get("shape")
if shape is not None:
dataset.metadata.shape = tuple(shape)
dataset.metadata.shape = (int(shape[0]), int(shape[1]))
elif hasattr(anndata_file["X"], "shape"):
dataset.metadata.shape = tuple(anndata_file["X"].shape)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guess an analogous change should be applied here, or?


Expand Down
Loading