From 180ef6579fbd03665510336b66b4fd3f28a5e090 Mon Sep 17 00:00:00 2001 From: Amirhossein Naghsh Nilchi Date: Thu, 1 Aug 2024 20:36:03 +0200 Subject: [PATCH] Fix h5ad metadata --- lib/galaxy/datatypes/binary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/datatypes/binary.py b/lib/galaxy/datatypes/binary.py index 4bcb3f8488a5..4454344d6d48 100644 --- a/lib/galaxy/datatypes/binary.py +++ b/lib/galaxy/datatypes/binary.py @@ -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)