mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-28 21:38: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
|
||||
];
|
||||
|
||||
// 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
|
||||
const isUserAnno = schemaObsByName[categoryName].writable;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user