Skip to content

Commit b656479

Browse files
committed
Allow BaseRaw
1 parent 9e5a929 commit b656479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mne/io/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3104,7 +3104,7 @@ def _write_raw_buffer(fid, buf, cals, fmt):
31043104
def _check_raw_compatibility(raw):
31053105
"""Ensure all instances of Raw have compatible parameters."""
31063106
for ri in range(1, len(raw)):
3107-
if not isinstance(raw[ri], type(raw[0])):
3107+
if not isinstance(raw[ri], BaseRaw):
31083108
raise ValueError(f"raw[{ri}] type must match")
31093109
for key in ("nchan", "sfreq"):
31103110
a, b = raw[ri].info[key], raw[0].info[key]

0 commit comments

Comments
 (0)