Closed ubyndr closed 3 months ago
Hey @ubyndr,
the dataset is not part of the Census as its assay (snmC-Seq2
, ontology term EFO:0030027
) is not among the accepted assays.
If you're only interested in downloading its h5ad, you can generate a download link from its collection page in the CELLxGENE Discover portal. For this dataset, you can use this link:
https://datasets.cellxgene.cziscience.com/ef4ead27-5d4f-4c6c-9b44-69aaa049388c.h5ad
Let me know if you have any other question.
Thank you for clarifying this. I appreciate it. I don't have any further question.
Describe the bug
When attempting to download a dataset using the
cellxgene_census
Python library, the functiondownload_source_h5ad
fails with aKeyError
indicating an 'Unknown dataset_id'. The dataset ID used does exist as per the URL provided, suggesting a possible issue with the dataset ID mapping or retrieval process within the library.To Reproduce
Steps to reproduce the behavior:
cellxgene_census
library in Python.Expected behavior
The expected behavior is that the dataset with ID 0500e103-38db-456d-9c3f-b96b8a693ab2 should download successfully without errors, saving the file to the specified output path 0500e103-38db-456d-9c3f-b96b8a693ab2_.h5ad
Environment
Provide a description of your system and the software versions.
`pip list`
Additional context
This issue blocks data download tasks which are critical for downstream analysis. The dataset appears to be available and accessible directly via browser, which indicates a potential issue in the library's URI handling or dataset ID validation logic.