Skip to content

Commit

Permalink
delete logcounts layer
Browse files Browse the repository at this point in the history
  • Loading branch information
jashapiro committed May 9, 2024
1 parent 49b5ecc commit 17e3663
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/move_counts_anndata.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
# move logcounts to X and rename
object.X = object.layers["logcounts"]
object.uns["X_name"] = "logcounts"
del object.layers["logcounts"]

# export object
object.write_h5ad(args.anndata_file, compression="gzip" if args.compress else None)

0 comments on commit 17e3663

Please sign in to comment.