Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tellurium tries to access libsedml.RepeatedTask rather than libsedml.SedRepeatedTask #520

Open
jonrkarr opened this issue Apr 21, 2021 · 0 comments

Comments

@jonrkarr
Copy link

  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/tesedml.py", line 510, in executePython
    code = self.toPython()
  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/tesedml.py", line 497, in toPython
    pysedml = template.render(c)
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.7/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/local/lib/python3.7/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/templates/tesedml_template.template", line 62, in top-level template code
    {{ taskToPython(doc, task) }}
  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/tesedml.py", line 697, in taskToPython
    return SEDMLCodeFactory.taskTreeToPython(doc, tree=taskTree)
  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/tesedml.py", line 813, in taskTreeToPython
    taskLines = SEDMLCodeFactory.simpleTaskMainSim(doc, node)
  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/tesedml.py", line 1078, in simpleTaskMainSim
    selections.update(SEDMLCodeFactory.selectionsForTask(doc=doc, task=p.task))
  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/tesedml.py", line 1297, in selectionsForTask
    modvec = SEDMLCodeFactory.getModelsFrom(task)
  File "/usr/local/lib/python3.7/site-packages/tellurium/sedml/tesedml.py", line 1275, in getModelsFrom
    elif isinstance(refed_task, libsedml.RepeatedTask):
AttributeError: module 'libsedml' has no attribute 'RepeatedTask'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant