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
I want to run refmap on my mudata object created using integrate. The mudata has a prot modality. Because my model is scvi and not totalvi, this line will evaluate to False, and the script fails because X_array is never created.
Changing this line to if "prot" in mdata.mod.keys(): and removing totalvi check seems to solve the problem. I haven't managed to run the refmap pipeline in full yet (I have some other issues) but it seems to solve this particular problem.
The text was updated successfully, but these errors were encountered:
I want to run refmap on my mudata object created using
integrate
. The mudata has aprot
modality. Because my model is scvi and not totalvi, this line will evaluate to False, and the script fails becauseX_array
is never created.https://github.com/DendrouLab/panpipes/blob/5da748c5f12b23f81cd283c46aa94a4135f73bbf/panpipes/python_scripts/refmap_scvitools.py#L86C18-L86C19
Changing this line to
if "prot" in mdata.mod.keys():
and removing totalvi check seems to solve the problem. I haven't managed to run the refmap pipeline in full yet (I have some other issues) but it seems to solve this particular problem.The text was updated successfully, but these errors were encountered: