mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-09 10:28:12 +08:00
pass empty coordinates when a continuous annotation is colored (#1212)
This commit is contained in:
@@ -37,6 +37,11 @@ const getCoordinatesByCategoricalValues = (
|
|||||||
categoryName
|
categoryName
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// If the coloredBy is not a categorical col
|
||||||
|
if (categoryValueIndices === undefined) {
|
||||||
|
return coordinates;
|
||||||
|
}
|
||||||
|
|
||||||
// Check to see if the current category is a user created annotation
|
// Check to see if the current category is a user created annotation
|
||||||
const isUserAnno = schemaObsByName[categoryName].writable;
|
const isUserAnno = schemaObsByName[categoryName].writable;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user