vivarium-collective / vivarium-notebooks

MIT License
4 stars 0 forks source link

connect field_counts_deriver volume to a constant bin_volume #2

Closed eagmon closed 3 years ago

eagmon commented 3 years ago

field_counts_deriver's 'volume' variable is here being connected to a constant 'bin_volume' within the boundary store for BioscrapeCOBRAstochastic. BioscrapeCOBRAstochastic's initial_state() sets this value to the local_fields process bin_volume parameter. To get this initialized correctly, all instances must either call stochastic_composite.initial_state() or set the initial bin_volume manually.