input validation on the uploaded data
See : https://git.dcc.sib.swiss/sphn-semantic-framework/sphn-schemaforge/-/blob/main/forms_new.py#L253 ff
Currently we decide what to do rather simple. We also need to think what a user might put in badly (e.g. SPHN named template, but with project additions).
Have a look at the current excel to see what we can externalize as validation arguments and how.
The target could be an python function accepting an excel file and returning a boolean whether it is conform or not, in addition to a list of errors.
Inside the function the openpyxl function may be used to parse the excel file.
Edited by Philip Krauss