TOMToolkit / tom_base

The base Django project for a Target and Observation Manager
https://tom-toolkit.readthedocs.io
GNU General Public License v3.0
23 stars 42 forks source link

Malformed data products can break target detail page #971

Closed jchate6 closed 4 days ago

jchate6 commented 1 week ago

Uploading a data product with data that cannot be read by the processor can permanently break a specific target detail page. This has been shown to happen with photometry data where magnitudes cannot be converted into floats.

Malformed data should probably be skipped, with a notification alert sent to the user.

jchate6 commented 1 week ago

This is caused by a lack of validation for Reduced Datums (See #609 )

In the short term, we will handle the failure to translate the JSON to Float more gracefully.