-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Column header naming convention is not checked #16
Comments
oem2orm has no checks for the oedb table naming conventions. However, it should be implemented in oem2orm or in the API itself. |
The OEP API now checks for id fields and duplicate column names: OpenEnergyPlatform/oeplatform#1032 As far as I know, the API does not check for all table conventions (like capital letters). |
The same set of checks should apply for the Wizzard too. |
completely agree. i will have a look at the api side and if necessary implement name checks |
Are there any updates on the issue? There're checks, however the error messages are heterogenous and should be improved. Not sure if the checks stem from the OEP API checks rather than sqlalchemy internal. Implemented checks for columns headers
|
checks could be some regular expression, like |
When uploading tables to the OEP using the script the column headers are not checked for capital letters and the table is nonetheless added to the DB.
I'm not sure whether this is a bug or problematic.
Example:
https://openenergy-platform.org/dataedit/view/model_draft/wind_turbine_domestic_lod_geoss_tp_oeo
The text was updated successfully, but these errors were encountered: