Skip to content

Commit

Permalink
can -> must
Browse files Browse the repository at this point in the history
  • Loading branch information
alejoe91 committed Jul 28, 2023
1 parent 5970be4 commit 16bf57c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pynwb/ndx_probeinterface/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def from_probeinterface(probe_or_probegroup: Union[Probe, ProbeGroup]) -> List[D
devices: list
The list of ndx-probeinterface Probe devices
"""
assert isinstance(probe_or_probegroup, (Probe, ProbeGroup)), f"The input can be a Probe or ProbeGroup, not {type(probe_or_probegroup)}"
assert isinstance(probe_or_probegroup, (Probe, ProbeGroup)), f"The input must be a Probe or ProbeGroup, not {type(probe_or_probegroup)}"
if isinstance(probe_or_probegroup, Probe):
probes = [probe_or_probegroup]
else:
Expand Down

0 comments on commit 16bf57c

Please sign in to comment.