diff --git a/client/src/annoMatrix/schema.js b/client/src/annoMatrix/schema.js index 9ce03765..1c66febe 100644 --- a/client/src/annoMatrix/schema.js +++ b/client/src/annoMatrix/schema.js @@ -68,7 +68,7 @@ export function _normalizeCategoricalSchema(colSchema, col) { const { type, writable } = colSchema; if (type === "string" || type === "boolean" || type === "categorical") { const categorySet = new Set( - col.summarize().categories.concat(colSchema.categories ?? []) + col.summarizeCategorical().categories.concat(colSchema.categories ?? []) ); if (writable && !categorySet.has(unassignedCategoryLabel)) { categorySet.add(unassignedCategoryLabel);