Skip to content

Commit 0ca2e54

Browse files
authored
add dataset_id reading to geneformer
1 parent bf3ffa8 commit 0ca2e54

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/methods/geneformer/script.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
par = parse_args(par)
3737

3838
if __name__ == "__main__":
39+
dataset_id = ad.read_h5ad(par['rna'], backed='r').uns['dataset_id']
3940
net = main(par)
4041
output = ad.AnnData(
4142
X=None,

0 commit comments

Comments
 (0)