-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
Hello,
I encountered an error while using pegasus.calc_kBET.
My function call is like:
pg.calc_kBET(data, attr="batch", rep="pca_harmony", random_state=0)
where my data.obs["batch"] is category type with character strings.
The error was:
Traceback (most recent call last):
...
File "...lib/python3.9/site-packages/pegasus/tools/nearest_neighbors.py", line 409, in calc_kBET
attr_values.categories = range(nbatch)
AttributeError: can't set attribute
Do you have any idea about this please?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels