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

Prevent multi-updates in initial_state #205

Merged
merged 3 commits into from
Aug 16, 2022
Merged

Conversation

thalassemia
Copy link
Contributor

When a single process has multiple ports into a store holding a dictionary, running the initial_state method of the Composite yields a multi-update for the initial value of that store. This PR adds a flag to instead populate the store with the correct initial dictionary.


By creating this pull request, I agree to the Contributor License
Agreement, which is available in CLA.md at the top level of this
repository.

@thalassemia thalassemia requested a review from a team as a code owner August 3, 2022 02:47
@thalassemia thalassemia force-pushed the initial_state_fix branch 2 times, most recently from 62b73a6 to ad85ea6 Compare August 3, 2022 02:57
vivarium/library/topology.py Outdated Show resolved Hide resolved
vivarium/library/topology.py Outdated Show resolved Hide resolved
@thalassemia thalassemia merged commit 62fadb7 into master Aug 16, 2022
@thalassemia thalassemia deleted the initial_state_fix branch August 16, 2022 21:22
This was referenced Aug 16, 2022
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.

None yet

3 participants