Skip to content

Commit

Permalink
flake8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hubertjb committed Dec 1, 2020
1 parent 4c9caba commit 2eb9b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mne_features/feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def _apply_extractor(extractor, X, ch_names, return_as_df):
feature_names = [
re.sub(pattern=rf'{pattern}(?=_)|{pattern}\b',
string=feature_name, repl=translation)
for feature_name in feature_names]
for feature_name in feature_names]

return X, feature_names

Expand Down
2 changes: 1 addition & 1 deletion mne_features/tests/test_feature_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def test_channel_naming_bivariate(selected_func, include_diag):

@pytest.mark.parametrize('selected_func', ['time_corr', 'spect_corr'])
@pytest.mark.parametrize('include_diag', [True, False])
@pytest.mark.parametrize('with_eig', [True,False])
@pytest.mark.parametrize('with_eig', [True, False])
def test_channel_naming_bivariate_eig(selected_func, include_diag, with_eig):
ch_names = ['CHANNEL%s' % i for i in range(n_channels)]
ch_names[:4] = ['Cz', 'FCz', 'P1', 'CP1']
Expand Down

0 comments on commit 2eb9b01

Please sign in to comment.