mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-04 03:08:12 +08:00
categorical metadata performance work (#356)
* do not create unecessary option state for categories we will not display * performance improvements for categorical metadata handling
This commit is contained in:
Vendored
+1
-1
@@ -16,7 +16,7 @@ import {
|
||||
function createCategoricalAsBooleansMap(world) {
|
||||
const res = {};
|
||||
_.each(world.summary.obs, (value, key) => {
|
||||
if (value.options) {
|
||||
if (value.options && key !== "name") {
|
||||
const optionsAsBooleans = {};
|
||||
_.each(value.options, (_value, _key) => {
|
||||
optionsAsBooleans[_key] = true;
|
||||
|
||||
Reference in New Issue
Block a user