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

Duplicate sites support #410

Merged
merged 10 commits into from May 10, 2019

Import BNGL constant expression symbolically

  • Loading branch information...
alubbock committed Mar 21, 2019
commit bf54c71cf427d06fcf58eba0d287b5b747adcdbb
@@ -187,8 +187,8 @@ def _parse_parameters(self):
except ValueError:
# Despite the "Constant" label, some constant expressions
# appear here e.g. ln(2)/120 in BNG's Repressilator model
self.parameter(name=p_name,
value=self._eval_in_model_env(
self.expression(name=p_name,
expr=self._eval_in_model_env(
p.get('value')))
elif p.get('type') == 'ConstantExpression':
self.expression(name=p_name,
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.