Skip to content

Commit 9755cbf

Browse files
authored
Fix grammar [ci skip] (#13881)
1 parent 844eb48 commit 9755cbf

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

doc/changes/dev/13881.other.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fixed typos in error messages when reading measurement info, by :newcontrib:`Seth Bashford`.

doc/changes/names.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@
311311
.. _Sebastian Major: https://github.com/major-s
312312
.. _Sena Er: https://github.com/sena-neuro
313313
.. _Senwen Deng: https://snwn.de
314+
.. _Seth Bashford: https://github.com/sbashford
314315
.. _Seyed Yahya Shirazi: https://neuromechanist.github.io
315316
.. _Sheraz Khan: https://github.com/SherazKhan
316317
.. _Shresth Keshari: https://github.com/shresth-keshari

mne/_fiff/meas_info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,14 +2352,14 @@ def read_meas_info(fid, tree, clean_bads=False, verbose=None):
23522352
if len(meas) == 0:
23532353
raise ValueError("Could not find measurement data")
23542354
if len(meas) > 1:
2355-
raise ValueError("Cannot read more that 1 measurement data")
2355+
raise ValueError("Cannot read more than 1 measurement data")
23562356
meas = meas[0]
23572357

23582358
meas_info = dir_tree_find(meas, FIFF.FIFFB_MEAS_INFO)
23592359
if len(meas_info) == 0:
23602360
raise ValueError("Could not find measurement info")
23612361
if len(meas_info) > 1:
2362-
raise ValueError("Cannot read more that 1 measurement info")
2362+
raise ValueError("Cannot read more than 1 measurement info")
23632363
meas_info = meas_info[0]
23642364

23652365
# Read measurement info

0 commit comments

Comments
 (0)