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

Hierarchy division test #224

Closed eagmon closed 1 year ago

eagmon commented 1 year ago

Nikos Mynhier @nikashmyn informed me of a bug in some vivarium notebooks, which failed to generate topology plots of composites after division. For example, this would fail. Looking into it, I found that the composite specification that is passed into Engine was no longer referencing the same Engine.processes and Engine.flow instances -- this happens because when building the store, we reassign these after parallelizing the process. I fixed it by simply putting these back in the 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.