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

Add test case for the following model #326

Closed
hsauro opened this issue May 6, 2016 · 3 comments
Closed

Add test case for the following model #326

hsauro opened this issue May 6, 2016 · 3 comments
Assignees

Comments

@hsauro
Copy link

hsauro commented May 6, 2016

Add a test case to test the following model. It currently crashes due to a bug in roadrunner. Issue submitted and allocated to Kyle.

import tellurium as te
import roadrunner

r = te.loada("""
J1:S1 -> S2; k1*S1;

   S1 = 1; k1 = 0.1;

""")

r.conservedMoietyAnalysis = True
m = r.simulate (0, 10, 100, ['time', "S2'"])

@kirichoi
Copy link

Wait until #325 is resolved

@luciansmith
Copy link

Given that S2 has no rate associated with it, since conserved moieties are on, I think this isn't a bug so much as it is a bad error message. This is now what you get when you run that program:

RuntimeError: No rate available for floating species S2: if conserved moieties are enabled, this species may be defined by an implied assignment rule instead, and its rate cannot be determined.

@luciansmith
Copy link

Closed with #837 for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants