Skip to content

Commit

Permalink
fix(spikeglx): minor bugfix in reading probe model
Browse files Browse the repository at this point in the history
  • Loading branch information
ttngu207 committed Sep 19, 2024
1 parent f754392 commit 2d57102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion element_array_ephys/readers/spikeglx.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ def __init__(self, meta_filepath):
self.probe_PN = self.meta.get("imDatPrb_pn", "3A")

# Infer npx probe model (e.g. 1.0 (3A, 3B) or 2.0)
probe_model = self.meta.get("imDatPrb_type", 1)
probe_model = self.meta.get("imDatPrb_type", 0)
if probe_model < 1:
if "typeEnabled" in self.meta and self.probe_PN == "3A":
self.probe_model = "neuropixels 1.0 - 3A"
Expand Down

0 comments on commit 2d57102

Please sign in to comment.