AllenInstitute / biofile-finder

An open-use web application created for easy access, collaboration, and sharing of datasets through rich metadata search, filter, sort, and direct viewing in common industry applications or in our web-based 3D Volume Viewer.
https://biofile-finder.allencell.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Upgrade data source validation #313

Closed SeanLeRoy closed 3 weeks ago

SeanLeRoy commented 4 weeks ago

Description

We got some reports from users that they were having trouble troubleshooting getting their data into BFF. Specifically that it wasn't clear what was happening when "File Path" exact casing wasn't present, when there were duplicate values, and when there were missing values. This changeset makes it so that when a data source is added a validation step runs from which errors will be reported in the UI if relevant.

Error Examples

Duplicate & blank values (will also be shown separately when relevant)

Screen Shot 2024-10-30 at 5 55 02 PM

Unable to access data source (like on refresh)

Screen Shot 2024-10-30 at 5 49 50 PM

No "File Path" column detected

Screen Shot 2024-10-30 at 5 28 51 PM

Related Issue

Resolves #272