Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

Convert NaNs from annotation #393

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

s-aibar
Copy link

@s-aibar s-aibar commented Sep 30, 2022

Solves the error TypeError: '<' not supported between instances of 'str' and 'float' in uniq_vals = np.unique(vals) when there are missing values in the annotation.

Solves the error `TypeError: '<' not supported between instances of 'str' and 'float'` in `uniq_vals = np.unique(vals)` when there are missing values in the annotation.
@s-aibar
Copy link
Author

s-aibar commented Sep 30, 2022

Note: This is just a workarround to be able to write the loom file.

It would probably be better to replace the NA's when importing the annotation... (with a warning: e.g. missing cells will not be "corrected" by harmony, etc...?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant