Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Hjorthmedh committed Nov 16, 2023
1 parent 08bd3ca commit b416745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions snudda/simulate/simulate.py
Original file line number Diff line number Diff line change
Expand Up @@ -2052,11 +2052,11 @@ def clear_neuron(self):
sim.add_volt_recording_soma()

if args.record_all_compartments:
record_cell_id = np.array([int(x) for x in args.record_all.split(",")])
record_cell_id = np.array([int(x) for x in args.record_all_compartments.split(",")])
sim.add_volt_recording_all(cell_id=record_cell_id, centre_only_flag=True)

if args.record_all_synapses:
record_cell_id = np.array([int(x) for x in args.record_all.split(",")])
record_cell_id = np.array([int(x) for x in args.record_all_synapses.split(",")])
sim.add_synapse_current_recording_all(record_cell_id)

tSim = args.time * 1000 # Convert from s to ms for Neuron simulator
Expand Down

0 comments on commit b416745

Please sign in to comment.