Skip to content

Commit 55c46b5

Browse files
committed
merge
2 parents 05f3fe0 + e54c0f9 commit 55c46b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pi_probegroup = probeinterface.ProbeGroup()
1818

1919
# from_probeinterface always returns a list of ndx_probeinterface.Probe devices
2020
ndx_probes1 = ndx_probeinterface.from_probeinterface(pi_probe)
21-
ndx_probes2 = ndx_probeinterface.from_probeinterface(pi_probe)
21+
ndx_probes2 = ndx_probeinterface.from_probeinterface(pi_probegroup)
2222

2323
ndx_probes = ndx_probes1.extend(ndx_probes2)
2424

src/pynwb/ndx_probeinterface/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def from_probeinterface(probe_or_probegroup: Union[Probe, ProbeGroup]) -> List[D
2525
devices: list
2626
The list of ndx-probeinterface Probe devices
2727
"""
28-
assert isinstance(probe_or_probegroup, (Probe, ProbeGroup)), f"The input can be a Probe or ProbeGroup, not {type(probe_or_probegroup)}"
28+
assert isinstance(probe_or_probegroup, (Probe, ProbeGroup)), f"The input must be a Probe or ProbeGroup, not {type(probe_or_probegroup)}"
2929
if isinstance(probe_or_probegroup, Probe):
3030
probes = [probe_or_probegroup]
3131
else:

0 commit comments

Comments
 (0)