mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-08 11:48:12 +08:00
fix typo in cxgtool bool handler (#1404)
This commit is contained in:
@@ -164,7 +164,7 @@ def dtype_to_schema(dtype):
|
|||||||
elif dtype == np.int32:
|
elif dtype == np.int32:
|
||||||
return (np.int32, {})
|
return (np.int32, {})
|
||||||
elif dtype == np.bool_:
|
elif dtype == np.bool_:
|
||||||
return (np.uint8, {type: "boolean"})
|
return (np.uint8, {"type": "boolean"})
|
||||||
elif dtype == np.str:
|
elif dtype == np.str:
|
||||||
return (np.unicode, {"type": "string"})
|
return (np.unicode, {"type": "string"})
|
||||||
elif dtype == "category":
|
elif dtype == "category":
|
||||||
|
|||||||
Reference in New Issue
Block a user