You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Panpipes ingest is erroring on the concat_adata.py step, when hashing_ab are present in the prot modality. The error is specifically in writng out the MuData object, after a hashin_ab mod is created. The error is a type erorr for converting non-string objects to strings for one of the columns in the hasing_ab var slot. please see the attached screen shot
. in the current case panpipes was installed in a python 3.10 venv. But this error has also been reproduced in a panpipes conda env.
The text was updated successfully, but these errors were encountered:
Current work around is to comment out line 224 in concat_adata.py to not write out a seperate hashing_ab modailty until i figure out how to fix the type erorr. This is in branch devika_interim.
deevdevil88
changed the title
Panpipes ingest errros in writing out a concatenated MuData object when HTO is present in the prot modailty
Panpipes ingest errros in writing out a concatenated MuData object when hashing abs are present in the prot modailty
Jun 4, 2024
thanks, i'll merge the PR but keep this issue open. if you can create the same object in an interactive session you can check which column of the hashing array is creating problems. my guess is that the .var array has the hashing names and the count values in different columns and the names should be converted to categorical before adding them as var.
if you get round it (or have an example dataset i can use to test) we will put a fix in the next version.
Panpipes ingest is erroring on the
concat_adata.py
step, whenhashing_ab
are present in theprot
modality. The error is specifically in writng out the MuData object, after ahashin_ab
mod is created. The error is a type erorr for converting non-string objects to strings for one of the columns in thehasing_ab
var slot. please see the attached screen shot. in the current case panpipes was installed in a python 3.10 venv. But this error has also been reproduced in a panpipes conda env.
The text was updated successfully, but these errors were encountered: