Skip to content

Commit

Permalink
fix h5ad metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
nilchia committed Aug 1, 2024
1 parent 297aeae commit 885beaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/datatypes/binary.py
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ def _layercountsize(tmp, lennames=0):
count = len(tmp.dtype)
size = int(tmp.size)
else:
layers = list(tmp.attrs)
layers = list(tmp.keys())
count = len(layers)
size = lennames
return (layers, count, size)
Expand Down Expand Up @@ -4649,4 +4649,4 @@ def display_peek(self, dataset: DatasetProtocol) -> str:
try:
return dataset.peek
except Exception:
return f"Binary numpy file ({nice_size(dataset.get_size())})"
return f"Binary numpy file ({nice_size(dataset.get_size())})"

0 comments on commit 885beaa

Please sign in to comment.