Skip to content

Commit 6fb8f50

Browse files
committed
Use backed mode for reading anndatas through CLI
1 parent 634b71d commit 6fb8f50

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "hugo-unifier"
3-
version = "0.2.1"
3+
version = "0.2.2"
44
description = "Python package that can unify gene symbols across datasets based on the HUGO database."
55
readme = "README.md"
66
authors = [

src/hugo_unifier/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get(input, outdir):
5454
# Build a dictionary from file names and adata.var.index
5555
symbols_dict = {}
5656
for file_path in input:
57-
adata = ad.read_h5ad(file_path)
57+
adata = ad.read_h5ad(file_path, backed="r")
5858
file_name = os.path.basename(file_path)
5959
symbols_dict[file_name] = adata.var.index.tolist()
6060

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)