ICB-DCM / pyPESTO

python Parameter EStimation TOolbox
https://pypesto.readthedocs.io
BSD 3-Clause "New" or "Revised" License
216 stars 47 forks source link

ValueError:Steadystate prediciton is not supported formodels with conservation laws! in PyCharm #698

Closed harshitaojha closed 3 years ago

harshitaojha commented 3 years ago

While replicating the Lotka-Volterra model in pycharm, I am getting error at this point: Traceback (most recent call last): File "/home/harshita/PycharmProjects/Project_ICL_lotkaVolterra/yaml_2_petab.py", line 27, in problem = importer.create_problem() File "/home/harshita/anaconda3/envs/Project_ICL_lotkaVolterra/lib/python3.9/site-packages/pypesto/petab/importer.py", line 288, in create_problem objective = self.create_objective(**kwargs) File "/home/harshita/anaconda3/envs/Project_ICL_lotkaVolterra/lib/python3.9/site-packages/pypesto/petab/importer.py", line 260, in create_objective obj = AmiciObjective( File "/home/harshita/anaconda3/envs/Project_ICL_lotkaVolterra/lib/python3.9/site-packages/pypesto/objective/amici_objective.py", line 173, in init raise ValueError('Steadystate prediciton is not supported for' ValueError: Steadystate prediciton is not supported formodels with conservation laws!

dweindl commented 3 years ago

Hi @harshitaojha,

File "/home/harshita/anaconda3/envs/Project_ICL_lotkaVolterra/lib/python3.9/site-packages/pypesto/objective/amici_objective.py",

It seems you are using a rather old version of pypesto (this file has been (re)moved about a year ago). Please retry with the current version of pypesto.

harshitaojha commented 3 years ago

Thanks a lot, it worked:)