AllenCell / AllenCell/cell-feature-explorer

`(N/A)` label appears in the groupby list even when there are 0 N/A elements

Open
#270 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Description

Noted during a demo by Majid. The `(N/A)` placeholder value appeared even though there were 0 N/A values. It seems to occur when the group by and color by features are different.

Image

## Expected Behavior

- `(N/A)` should not appear when every row in the CSV has an element

## Reproduction

https://cfe.allencell.org/?cellSelectedFor3D=2819&colorBy=Gene&dataset=csv&csvUrl=https%253A%252F%252Fvast-files.int.allencell.org%252Frep_learn%252FMF%252FOV%252Ffeatures_subset_data_voxel%252Fres%252Fembeddings_val_sub_structure.csv&plotByOnX=tsne_2&plotByOnY=tsne_1&groupBy=Cell%20Line&selectedPoint%5B0%5D=3006&selectedPoint%5B1%5D=6086&selectedPoint%5B2%5D=16659&selectedPoint%5B3%5D=2819

## Environment

_Any additional information about your environment. E.g. OS version, python version, browser etc._

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.