dbbs-lab / bsb-core

The Brain Scaffold Builder
https://bsb.readthedocs.io
GNU General Public License v3.0
21 stars 16 forks source link

Topology does not update in case of added `RegionGroup` #812

Open Helveg opened 6 months ago

Helveg commented 6 months ago

When the configuration bootstraps the scaffold's topology is created (does this really need to happen inside of the Configuration._bootstrap method? Would be better inside of the scaffold's, no?). If the topology creates a root RegionGroup, then adding regions/partitions to the network.partitions and network.regions dictionaries does not include them in the topology, and calls to for example network.resize won't affect them.

(Can be worked around with network.topology.children.append and then network.resize())