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 NaN value in returned JSON #32

Closed johnbradley closed 1 year ago

johnbradley commented 1 year ago

Changes CSV parsing logic to not create NaN values since these cannot be converted to JSON.

Fixes #29

johnbradley commented 1 year ago

Was there error handling to alert the user of a missing URL? IIRC, it skips the row?

It doesn't skip the row the row is still returned with an empty value for the URL field instead of an invalid JSON value. The front end code then shows the item without drawing an image.