Skip to content

Commit

Permalink
fixes some formatting issues flagged by CI
Browse files Browse the repository at this point in the history
  • Loading branch information
john-veillette committed Aug 29, 2024
1 parent c1bd96f commit f4a72ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyprep/reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def __init__(
raw.load_data()
self.raw = raw.copy()
self.ch_names = self.raw.ch_names
self.raw.pick_types(eeg=True, eog=False, meg=False, exclude = [])
self.raw.pick_types(eeg=True, eog=False, meg=False, exclude=[])
self.ch_names_eeg = self.raw.ch_names
self.EEG = self.raw.get_data()
self.reference_channels = params["ref_chs"]
Expand Down Expand Up @@ -150,7 +150,7 @@ def perform_reference(self, max_iterations=4):
self.bad_before_interpolation = noisy_detector.get_bads(verbose=True)
self.EEG_before_interpolation = self.EEG.copy()
self.noisy_channels_before_interpolation = noisy_detector.get_bads(as_dict=True)
self.noisy_channels_before_interpolation['bad_manual'] = self.bads_manual
self.noisy_channels_before_interpolation["bad_manual"] = self.bads_manual
self._extra_info["interpolated"] = noisy_detector._extra_info

bad_channels = _union(self.bad_before_interpolation, self.unusable_channels)
Expand Down

0 comments on commit f4a72ee

Please sign in to comment.