dieterich-lab / scimodom

GNU Affero General Public License v3.0
0 stars 0 forks source link

Data validation is not performed on file selection #48

Closed eboileau closed 1 month ago

eboileau commented 7 months ago

Aims/objectives.

In Compare View, data validation is not performed on file selection, but on upload, which happens on submit (step C). or invalid format, e.g. scimodom.services.importer.SpecsError: Invalid format! Only BED6 or bedRMod/EUF (11 or 12 columns). appears on Flask output, but nothing is sent to the FE.

A clear and concise description of todo items.

We need a general solution here.

eboileau commented 4 months ago

To do with #80 (check https://github.com/dieterich-lab/scimodom/milestone/6)

eboileau commented 1 month ago

Upload is fine and any upload-related errors are handled there. Reading the file is done on submission, and it makes sense that this is done the way it is.