Skip to content

Commit

Permalink
Revert "Fix tests"
Browse files Browse the repository at this point in the history
This reverts commit c41d2ff.
  • Loading branch information
bjhardcastle committed Dec 16, 2024
1 parent c41d2ff commit 228b45f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/npc_ephys/spikeinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ class SpikeInterfaceKS25Data:
>>> ''.join(si.probes)
'ABCDEF'
>>> si.spike_indexes('probeA')
array([ 145, 491, 738, ..., 143124925, 143125165, 143125201], dtype=int64)
array([ 145, 491, 738, ..., 143124925, 143125165, 143125201])
>>> si.unit_indexes('probeA')
array([ 36, 50, 55, ..., 52, 132, 53], dtype=int64)
array([ 36, 50, 55, ..., 52, 132, 53])
>>> len(si.original_cluster_id('probeA'))
139
>>> si = SpikeInterfaceKS25Data('712815_2024-05-21')
Expand Down
2 changes: 1 addition & 1 deletion src/npc_ephys/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def make_units_table_from_spike_interface_ks25(
>>> device_timing_on_sync = npc_ephys.openephys.get_ephys_timing_on_sync(npc_lims.get_h5_sync_from_s3('662892_20230821'), npc_lims.get_recording_dirs_experiment_path_from_s3('662892_20230821'), only_devices_including='ProbeA')
>>> units = make_units_table_from_spike_interface_ks25('662892_20230821', device_timing_on_sync)
>>> len(units[units['electrode_group_name'] == 'probeA'])
240
225
"""
spike_interface_data = npc_ephys.spikeinterface.get_spikeinterface_data(
session_or_spikeinterface_data_or_path
Expand Down

0 comments on commit 228b45f

Please sign in to comment.