The application db_add_model_parameters_from_repository_to_db uploads model parameters from a repository to the DB into a new DB with a name given on the command line --db_name.
Noticed that this application is not working when the environmental variable SIMTOOLS_DB_SIMULATION_MODEL is not defined. This is obviously dangerous, as we have to be sure that only data from the repository and not from another DB is uploaded.
This PR fixes this and db_add_model_parameters_from_repository_to_db is working now without SIMTOOLS_DB_SIMULATION_MODEL defined.
The application
db_add_model_parameters_from_repository_to_db
uploads model parameters from a repository to the DB into a new DB with a name given on the command line--db_name
.Noticed that this application is not working when the environmental variable
SIMTOOLS_DB_SIMULATION_MODEL
is not defined. This is obviously dangerous, as we have to be sure that only data from the repository and not from another DB is uploaded.This PR fixes this and
db_add_model_parameters_from_repository_to_db
is working now withoutSIMTOOLS_DB_SIMULATION_MODEL
defined.