From 0da14fc8e1a5b3fd5bb3a254ab582ffde0dd7a54 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 16 Nov 2026 16:50:22 +0100 Subject: [PATCH 1/3] after release --- pyproject.toml | 2 +- src/probeinterface/neuropixels_tools.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 17cbed0e..23c38f37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "probeinterface" -version = "0.5.0" +version = "0.6.0" authors = [ { name="Samuel Garcia", email="sam.garcia.die@gmail.com" }, { name="Alessio Buccino", email="alessiop.buccino@gmail.com" }, diff --git a/src/probeinterface/neuropixels_tools.py b/src/probeinterface/neuropixels_tools.py index aa35e5b0..66d90542 100644 --- a/src/probeinterface/neuropixels_tools.py +++ b/src/probeinterface/neuropixels_tools.py @@ -1236,6 +1236,11 @@ def _parse_openephys_settings( info["custom_channel_map"] = custom_indices else: # Older plugin versions: reverse-engineer electrode IDs from positions + if len(channels.attrib) == 0: + # shank not populated in the settings (e.g. Quad Base saved before acquisition): keep a bare entry + # so that indices stay aligned with the stream names; it can't be selected for a geometry. + probes_info.append(info) + continue channel_names = np.array(list(channels.attrib.keys())) channel_ids = np.array([int(ch[2:]) for ch in channel_names]) channel_order = np.argsort(channel_ids) From 4aa438ed4ae9b2969398df9d0974296886e9cc63 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 16 Nov 2026 16:51:19 +0100 Subject: [PATCH 2/3] remove fix --- src/probeinterface/neuropixels_tools.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/probeinterface/neuropixels_tools.py b/src/probeinterface/neuropixels_tools.py index 66d90542..aa35e5b0 100644 --- a/src/probeinterface/neuropixels_tools.py +++ b/src/probeinterface/neuropixels_tools.py @@ -1236,11 +1236,6 @@ def _parse_openephys_settings( info["custom_channel_map"] = custom_indices else: # Older plugin versions: reverse-engineer electrode IDs from positions - if len(channels.attrib) == 0: - # shank not populated in the settings (e.g. Quad Base saved before acquisition): keep a bare entry - # so that indices stay aligned with the stream names; it can't be selected for a geometry. - probes_info.append(info) - continue channel_names = np.array(list(channels.attrib.keys())) channel_ids = np.array([int(ch[2:]) for ch in channel_names]) channel_order = np.argsort(channel_ids) From acebde69cd407c1efd05c2bb736372382a50a7e1 Mon Sep 17 00:00:00 2001 From: Alessio Buccino Date: Mon, 16 Nov 2026 17:35:10 +0100 Subject: [PATCH 3/3] Apply suggestion from @alejoe91 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 23c38f37..5fea5f3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "probeinterface" -version = "0.6.0" +version = "0.5.1" authors = [ { name="Samuel Garcia", email="sam.garcia.die@gmail.com" }, { name="Alessio Buccino", email="alessiop.buccino@gmail.com" },