vivarium-collective / vivarium-core

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

track composite updates in engine #189

Closed eagmon closed 2 years ago

eagmon commented 2 years ago

This fixes some bugs I found when working on topology plots for a Composite both before and after division. I noticed that after division, some Steps were missing from the topology plot. I tracked this down to incomplete passing of a composite's hierarchical updates to its steps -- while the engine was tracking the steps in Engine.steps, it wasn't being applied to the composite['steps'] that had been passed into engine with Engine(composite=composite).


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.