Skip to content

Commit 8a8ce2f

Browse files
committed
Include STIM-populations
1 parent 4030598 commit 8a8ce2f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/miv_simulator/interface/network.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@ def launch(self):
3030

3131
populations = self.config.populations
3232
if populations is None:
33-
populations = list(config.synapses.keys())
33+
populations = []
34+
for pre, v in config.synapses.items():
35+
populations.append(pre)
36+
populations.extend(list(v.keys()))
3437

3538
self.h5_types = get(
3639
"miv_simulator.interface.h5_types",

0 commit comments

Comments
 (0)