Skip to content

Commit 1297027

Browse files
FIX: replace mne.Raw with mne.io.Raw (#212)
* FIX: Use the correct type * FIX: more
1 parent 233a536 commit 1297027

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pylossless/pipeline.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ def coregister(
358358
359359
Parameters
360360
----------
361-
raw_edf : mne.Raw
362-
an instance of `mne.Raw` to coregister.
361+
raw_edf : mne.io.Raw
362+
an instance of `mne.io.Raw` to coregister.
363363
fiducials : str (default 'estimated')
364364
fiducials to use for coregistration. if `'estimated'`, gets fiducials
365365
from fsaverage.
@@ -393,8 +393,8 @@ def warp_locs(self, raw):
393393
394394
Parameters
395395
----------
396-
raw : mne.Raw
397-
an instance of mne.Raw
396+
raw : mne.io.Raw
397+
an instance of mne.io.Raw
398398
399399
Returns
400400
-------
@@ -435,7 +435,7 @@ class LosslessPipeline:
435435
in the pipeline.
436436
config : dict
437437
A dictionary containing the pipeline parameters.
438-
raw : mne.Raw
438+
raw : mne.io.Raw
439439
An instance of :class:`~mne.io.Raw` containing that will
440440
be processed by the pipeline.
441441
ica1 : mne.preprocessing.ICA
@@ -776,7 +776,7 @@ def find_outlier_chs(self, inst, picks="eeg"):
776776
logger.info("🔍 Detecting channels to leave out of reference.")
777777
if isinstance(inst, mne.Epochs):
778778
epochs = inst
779-
elif isinstance(inst, mne.Raw):
779+
elif isinstance(inst, mne.io.Raw):
780780
epochs = self.get_epochs(rereference=False, picks=picks)
781781
else:
782782
raise TypeError(

0 commit comments

Comments
 (0)