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

Fix initial assignment overrides #1139

Merged
merged 7 commits into from
Oct 31, 2023
Merged

Conversation

luciansmith
Copy link

Fix issues #1136, #1137, and #1138

If we're setting an initial value for something that has an initial assignment, delete that initial assignment first.
I think it makes the most sense to reset the model when removing an initial assignment, just like happens when you set an init() value.
This turned out to be super simple:  just delete the initial assignments from the initially-generated SBML.  All the values are set afterwards, an
Pull build fix from develop.
@luciansmith luciansmith merged commit a8ec03d into develop Oct 31, 2023
@luciansmith luciansmith deleted the fix-initial-assignment-overrides branch October 31, 2023 21:16
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

Successfully merging this pull request may close these issues.

1 participant