We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7109750 commit 7b1c8cdCopy full SHA for 7b1c8cd
1 file changed
src/miv_simulator/spikedata.py
@@ -59,7 +59,9 @@ def get_env_spike_dict(
59
for j in range(0, len(ids)):
60
gid = ids[j]
61
t = ts[j]
62
- if (not include_artificial) and (gid in env.artificial_cells[pop_name]):
+ if (not include_artificial) and (
63
+ gid in env.artificial_cells.get(pop_name, {})
64
+ ):
65
continue
66
if gid in spkdict:
67
spkdict[gid].append(t)
0 commit comments