Skip to content

Commit

Permalink
nothing really
Browse files Browse the repository at this point in the history
  • Loading branch information
jkobject committed Aug 14, 2024
1 parent edc35f5 commit ece6933
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "scdataloader"
version = "1.0.3"
version = "1.0.5"
description = "a dataloader for single cell data in lamindb"
authors = ["jkobject"]
license = "GPL3"
Expand Down
4 changes: 3 additions & 1 deletion scdataloader/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,8 @@ def load_genes(organisms: Union[str, list] = "NCBITaxon:9606"): # "NCBITaxon:10
organismdf.append(genesdf)
organismdf = pd.concat(organismdf)
organismdf.drop(
columns=["source_id", "run_id", "created_by_id", "updated_at"], inplace=True
columns=["source_id", "run_id", "created_by_id", "updated_at", "stable_id"],
inplace=True,
)
return organismdf

Expand Down Expand Up @@ -528,6 +529,7 @@ def length_normalize(adata: AnnData, gene_lengths: list):
adata.X = csr_matrix((adata.X.T / gene_lengths).T)
return adata


def translate(
val: Union[str, list, set, Counter, dict], t: str = "cell_type_ontology_term_id"
):
Expand Down

0 comments on commit ece6933

Please sign in to comment.