Skip to content

Commit

Permalink
Simplify parsing in cellexplorer
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Oct 6, 2023
1 parent a57ddd0 commit 5660de2
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ def __init__(
spike_times = spikes_data["times"]

# CellExplorer reports spike times in units seconds; SpikeExtractors uses time units of sampling frames
unit_ids = unit_ids[:].astype(int).tolist()
unit_ids = [str(unit_id) for unit_id in unit_ids]
spiketrains_dict = {unit_id: spike_times[index] for index, unit_id in enumerate(unit_ids)}
for unit_id in unit_ids:
Expand Down

0 comments on commit 5660de2

Please sign in to comment.