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
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 28, 2024
1 parent dffda01 commit ef0a484
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions mne_connectivity/effective.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
import numpy as np
from mne.utils import logger, verbose

from .base import SpectralConnectivity, SpectroTemporalConnectivity, EpochSpectralConnectivity
from .base import (
EpochSpectralConnectivity,
SpectralConnectivity,
SpectroTemporalConnectivity,
)
from .spectral import spectral_connectivity_epochs, spectral_connectivity_time
from .utils import fill_doc

Expand Down Expand Up @@ -256,7 +260,7 @@ def phase_slope_index_time(data,
fmax=np.inf,
mt_bandwidth=None,
freqs=None,
n_cycles=7,
n_cycles=7,
padding=0,
n_jobs=1,
):
Expand Down Expand Up @@ -430,4 +434,4 @@ def phase_slope_index_time(data,
event_id=event_id,
)

return conn
return conn
2 changes: 1 addition & 1 deletion mne_connectivity/tests/test_effective.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ def test_psi_time():
)

assert np.all(conn_cwt.get_data() > 0)
assert conn_cwt.shape[-1] == n_epochs
assert conn_cwt.shape[-1] == n_epochs

0 comments on commit ef0a484

Please sign in to comment.