mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-11 04:30:57 +08:00
fix bug created from master rebase (#1216)
This commit is contained in:
@@ -33,13 +33,12 @@ const getCoordinatesByCategoricalValues = (
|
|||||||
const layoutXArray = obsLayout.col(layoutDimNames[0]).asArray();
|
const layoutXArray = obsLayout.col(layoutDimNames[0]).asArray();
|
||||||
const layoutYArray = obsLayout.col(layoutDimNames[1]).asArray();
|
const layoutYArray = obsLayout.col(layoutDimNames[1]).asArray();
|
||||||
|
|
||||||
const { categoryValueIndices, categoryValueCounts } = categoricalSelection[
|
const { categoryValueIndices, categoryValueCounts } =
|
||||||
categoryName
|
categoricalSelection?.[categoryName] || {};
|
||||||
];
|
|
||||||
|
|
||||||
// If the coloredBy is not a categorical col
|
// If the coloredBy is not a categorical col
|
||||||
if (categoryValueIndices === undefined) {
|
if (categoryValueIndices === undefined) {
|
||||||
return coordinates;
|
return coordsByCategoryLabel;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check to see if the current category is a user created annotation
|
// Check to see if the current category is a user created annotation
|
||||||
|
|||||||
Reference in New Issue
Block a user