labsyspharm / scimap

Spatial Single-Cell Analysis Toolkit
https://scimap.xyz/
MIT License
71 stars 24 forks source link

Fixed str dtype for Unknown cells, Closes #107 #109

Closed emmanuel-contreras closed 1 month ago

emmanuel-contreras commented 1 month ago

This PR fixes the issue in sm.tl.phenotype_cells where Unknows cells get a dtype of np.str_ which is inconsistent with other phenotype labels having a dtype of str which results in an error in sklearn due to mismatched dtypes.

ajitjohnson commented 1 month ago

Thank you so much @emmanuel-contreras