AutomatingSciencePipeline / Monorepo

Low-code open source pipeline for running computational experiments
3 stars 0 forks source link

Python experiments rejected in dropzone #238

Closed rhit-zhangam closed 9 months ago

rhit-zhangam commented 10 months ago

For some setups, python scripts are rejected in the Dropzone. I have a bet it has something to do with it only using this list of MIME types, which only recognizes java and not python (Doesn't recognize text/x-python).

rhit-zhangam commented 10 months ago

see https://github.com/react-dropzone/react-dropzone/issues/1273

rhit-zhangam commented 10 months ago

Idea: leave it to backend to check mime type before starting the experiment. This needs to be visible to the user, if it rejects the file type (currently the system just complains in the backend)