Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Oct 21, 2023
1 parent a95ddea commit 062d24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moabb/datasets/preprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def transform(self, X, y=None):
raw.info["bads"].extend(missing_channels)
# ...and use mne bad channel interpolation to generate the value of the missing channels
try:
raw.interpolate_bads(origin='auto')
raw.interpolate_bads(origin="auto")
except ValueError:
# use default origin if montage info not available
raw.interpolate_bads(origin=(0, 0, 0.04))
Expand Down

0 comments on commit 062d24d

Please sign in to comment.