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

cannot open h5ad #30

Open
SilasK opened this issue Jul 8, 2022 · 1 comment
Open

cannot open h5ad #30

SilasK opened this issue Jul 8, 2022 · 1 comment

Comments

@SilasK
Copy link

SilasK commented Jul 8, 2022

Hello, I was very happy to see that you make for all experiments h5ad objects available.

However, I tried to open the one and got the following error:

(self, X, obs, var, uns, obsm, varm, varp, obsp, raw, layers, dtype, shape, filename, filemode)
    446 else:
    447     class_names = ", ".join(c.__name__ for c in StorageType.classes())
--> 448     raise ValueError(
    449         f"`X` needs to be of one of {class_names}, not {type(X)}."
    450     )
    451 if shape is not None:
    452     raise ValueError("`shape` needs to be `None` if `X` is not `None`.")

ValueError: `X` needs to be of one of ndarray, MaskedArray, spmatrix, Array, ZappyArray, Array, not <class 'str'>.

I use the latest anndata version 0.8 and py 3.8

@pcm32
Copy link
Member

pcm32 commented Sep 27, 2022

Hi, apologies, just saw this. So our galaxy setup is still most likely producing AnnData 0.7.x, could that be the culprit? We deposit all the AnnData files per release per dataset here http://ftp.ebi.ac.uk/pub/databases/microarray/data/atlas/sc_experiments/ (just go inside one of the directories, you should find an .h5ad file there), in case it could be a case of a specific anndata file being corrupted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants