matthiaskoenig / tellurium-web

Tellurium Web Tools
GNU Lesser General Public License v3.0
1 stars 1 forks source link

JWS martins2016_fig4b.sedx failure: no element exists for symbol #51

Closed matthiaskoenig closed 7 years ago

matthiaskoenig commented 7 years ago

If the SED-ML tries to change variables/parameters in the SBML which do not exist the simulation fails. This is on purpose and a bug in the archive SED-ML. This has been reported.

                    Traceback (most recent call last):
  File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/celery/app/trace.py", line 374, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/celery/app/trace.py", line 629, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/mkoenig/git/tellurium-web/teweb/combine/tasks.py", line 63, in execute_omex
    dgs_all = tellurium.sedml.tesedml.executeOMEX(omex_path, workingDir=tmp_dir)
  File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 193, in executeOMEX
    sedml_dgs = factory.executePython()
  File "/home/mkoenig/git/tellurium/tellurium/sedml/tesedml.py", line 414, in executePython
    exec(compile(execStr, filename, 'exec'), symbols)
  File "/tmp/te-generated-sedml.py", line 42, in 
    model0_sigcpsba['K1c'] = 0.9
  File "/home/mkoenig/envs/tellurium-web/lib/python3.5/site-packages/roadrunner/roadrunner.py", line 3353, in __setitem__
    return _roadrunner.RoadRunner___setitem__(self, id, value)
RuntimeError: No sbml element exists for symbol 'K1c'
matthiaskoenig commented 7 years ago

Fixed archive has been uploaded to JWS.