While functions like get_anndata can accept values for the organism argument like "Homo sapiens" or "homo_sapiens", functions in the embedding API only accept snake-case values like "homo_sapiens".
To Reproduce
import cellxgene_census, cellxgene_census.experimental
CENSUS_VERSION = "2023-12-15"
census = cellxgene_census.open_soma(census_version=CENSUS_VERSION)
Describe the bug
While functions like
get_anndata
can accept values for theorganism
argument like"Homo sapiens"
or"homo_sapiens"
, functions in the embedding API only accept snake-case values like"homo_sapiens"
.To Reproduce
Both of these work:
For the embeddings, this works:
But this doesn't:
Expected behavior
The accepted values and behavior of the
organism
argument to be consistent across functions.Environment
Provide a description of your system and the software versions.
Additional context
Some previous discussion: