Skip to content

Commit

Permalink
test .copy()
Browse files Browse the repository at this point in the history
  • Loading branch information
bio-la committed Feb 29, 2024
1 parent 71dde70 commit f230085
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions panpipes/python_scripts/batch_correct_multivi.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,11 @@
# ------------------------------------------------------------------
L.info("Running multivi")

# mdata = mu.read(args.scaled_anndata)
# rna = mdata['rna'].copy()
# atac = mdata['atac'].copy()
rna= mu.read(args.scaled_anndata +"/" + "rna")
atac= mu.read(args.scaled_anndata +"/" + "atac")
mdata = mu.read(args.scaled_anndata)
rna = mdata['rna'].copy()
atac = mdata['atac'].copy()

del mdata

if check_for_bool(params["multimodal"]["MultiVI"]["lowmem"]):
L.info("subsetting atac to top 25k HVF")
Expand Down

0 comments on commit f230085

Please sign in to comment.