Skip to content
Snippets Groups Projects
Commit 1d5c5418 authored by Jan Müller's avatar Jan Müller
Browse files

Pass population id as string

parent 4867ce42
No related branches found
No related tags found
1 merge request!5Feature/remove postgres from docker compose
......@@ -304,7 +304,7 @@ def nest_get_spikes_by_population(population_id, _from=None, to=None, offset=Non
spikes = Spikes([], [])
for node in nodes.nest_simulation_nodes:
response = requests.get(
node+'/population/'+population_id+'/spikes', params={"from": _from, "to": to}).json()
node+'/population/$'+str(population_id)+'/spikes', params={"from": _from, "to": to}).json()
for x in range(len(response['simulation_times'])):
spikes.simulation_times.append(response['simulation_times'][x])
spikes.gids.append(response['gids'][x])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment