Open frafra opened 3 years ago
Thank you very much for this issue.
This is a legacy script that originates to AIDE version 1.0 where only one "project" could be supported at a time (and had to be specified in the settings.ini file, precisely through the schema
keyword). With AIDE version 2.0, this keyword has become obsolete as an arbitrary number of projects can now be created.
I have resolved the issue in the latest commit (and also removed the SQL injection vulnerability mentioned in the respective issue). The same holds for the file in the latest development branch.
Database schema is required by this script:
https://github.com/microsoft/aerial_wildlife_detection/blob/de150d03e267676876554f62188689cf4196f4bb/projectCreation/import_images.py#L50
Missing from:
https://github.com/microsoft/aerial_wildlife_detection/blob/de150d03e267676876554f62188689cf4196f4bb/config/settings.ini#L127-L140
I would also suggest raising an error if the parameter is mandatory but missing.
schema
should be equal to the user name.