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

Allow setting "init(k1)" when k1 has an initial assignment. #1137

Closed
luciansmith opened this issue Jul 20, 2023 · 0 comments
Closed

Allow setting "init(k1)" when k1 has an initial assignment. #1137

luciansmith opened this issue Jul 20, 2023 · 0 comments

Comments

@luciansmith
Copy link

An initial assignment is used to initialize values in an SBML model. Similarly, "r.setValue('init(k1)')" is the method in roadrunner that sets the 'reset' value of a parameter.

Since these are essentially the same things, I think that r.setValue('init(k1)') should reset the initial assignment of the variable in question (right now, roadrunner just refuses to do it at all).

@matthiaskoenig: would this affect you guys at all? Herbert wanted to check before implementing this.

luciansmith added a commit that referenced this issue Jul 21, 2023
If we're setting an initial value for something that has an initial assignment, delete that initial assignment first.
adelhpour pushed a commit that referenced this issue Nov 7, 2023
If we're setting an initial value for something that has an initial assignment, delete that initial assignment first.
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