mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 17:28:11 +08:00
Don't forget unsigned ints!
This commit is contained in:
@@ -49,7 +49,7 @@ class ScanpyEngine(CXGDriver):
|
|||||||
if data_kind == 'f':
|
if data_kind == 'f':
|
||||||
variable_type = "continuous"
|
variable_type = "continuous"
|
||||||
data_type = "float"
|
data_type = "float"
|
||||||
elif data_kind == 'i':
|
elif data_kind in ['i', 'u']:
|
||||||
data_type = "int"
|
data_type = "int"
|
||||||
if self.data.obs[m].nunique() > 50:
|
if self.data.obs[m].nunique() > 50:
|
||||||
variable_type = "continuous"
|
variable_type = "continuous"
|
||||||
|
|||||||
Reference in New Issue
Block a user