Skip to content

Commit

Permalink
Merge pull request #284 from DendrouLab/devika_interim
Browse files Browse the repository at this point in the history
minor hashing_ab bug fix
  • Loading branch information
bio-la authored Jun 12, 2024
2 parents 4a312db + 38324c7 commit 42733c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panpipes/python_scripts/concat_adata.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
# we assume this has been inidicated in a "hashing_ab" column in the protein metadata file
if "hashing_ab" in mdata['prot'].var.columns:
# create new modality for hashing
mdata.mod["hashing_ab"]=mdata["prot"][:, mdata["prot"].var["hashing_ab"]]
#mdata.mod["hashing_ab"]=mdata["prot"][:, mdata["prot"].var["hashing_ab"]]
# subset old modality to remove hashing
mdata.mod['prot'] = mdata["prot"][:, ~mdata["prot"].var["hashing_ab"]]
except FileNotFoundError:
Expand Down

0 comments on commit 42733c9

Please sign in to comment.