Imageomics / Andromeda

A website that enables users to explore high-dimensional image data
http://andromeda.imageomics.org/
MIT License
2 stars 1 forks source link

Fix KeyError for numeric columns with only one value #33

Closed johnbradley closed 1 year ago

johnbradley commented 1 year ago

Fixes KeyError by filtering out the invalid column and improving a field name in cb0bbdbcc03c0179cfaf89efb6ff3a0cb4a7bf23. Adds testing configuration in commit d40d0e825b3ea33906138737b0a1d1f462b3b371.

With this change users should be able to use the mockData_v1.csv test dataset without any errors.

Once this PR merges I will create an issue to address notifying users about columns that have been filtered out.

Fixes #28

johnbradley commented 1 year ago

only note that the numeric columns just test for more than one distinct variable, not that they're unique (it's noted in the code, but the commit says unique).

I fixed the commit message. Thanks @egrace479 and @thompsonmj