Skip to content

Commit 931655f

Browse files
committed
get_saved_channels_from_openephys_settings --> get_saved_channel_indices_from_openephys_settings
1 parent 2adf05a commit 931655f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

probeinterface/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
read_imro, write_imro,
1212
read_BIDS_probe, write_BIDS_probe,
1313
read_spikeglx, parse_spikeglx_meta, get_saved_channel_indices_from_spikeglx_meta,
14-
read_openephys, get_saved_channels_from_openephys_settings,
14+
read_openephys, get_saved_channel_indices_from_openephys_settings,
1515
read_mearec, read_nwb,
1616
read_maxwell, read_3brain)
1717
from .utils import combine_probes

probeinterface/io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@ def read_openephys(
15171517
contact_ids = np_probe_info['contact_ids'] if np_probe_info['contact_ids'] is not None else None
15181518

15191519
# check if subset of channels
1520-
chans_saved = get_saved_channels_from_openephys_settings(settings_file, stream_name=stream_name)
1520+
chans_saved = get_saved_channel_indices_from_openephys_settings(settings_file, stream_name=stream_name)
15211521

15221522
# if a recording state is found, slice probe
15231523
if chans_saved is not None:
@@ -1563,7 +1563,7 @@ def read_openephys(
15631563
return probe
15641564

15651565

1566-
def get_saved_channels_from_openephys_settings(settings_file, stream_name):
1566+
def get_saved_channel_indices_from_openephys_settings(settings_file, stream_name):
15671567
"""
15681568
Returns an array with the subset of saved channels indices (if used)
15691569

0 commit comments

Comments
 (0)