-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
Description
Querying for simulations does not work when using any of the readService functions. Exceptions are silenced when calling these functions and None is returned. I suggest that the exception handling at least print the exception message (possibly even raise Exception(e)). By printing the exception message we can see that all of these functions are looking for a table called Simulation:
global name 'Simulation' is not defined
However, this table does not exist, and these functions should instead be looking for a table called Simulations as defined in models.py
In the following functions, self._session.query(Simulation)... needs to be replaced with self._session.query(Simulations)...:
getAllSimulations
getSimulationByName
getSimulationByActionID
Reactions are currently unavailable