vivarium-collective / vivarium-core

Core Interface and Engine for Vivarium
https://vivarium-core.readthedocs.io/
Apache License 2.0
26 stars 3 forks source link

Prevent multi-updates in initial_state #205

Closed thalassemia closed 2 years ago

thalassemia commented 2 years ago

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.