Skip to content

Commit

Permalink
minor lints
Browse files Browse the repository at this point in the history
  • Loading branch information
TomDonoghue committed Aug 17, 2024
1 parent e2770f5 commit ce3b1f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion neurodsp/sim/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def _make_params(self, parameters=None, **kwargs):
params = {**parameters, **kwargs}

# If any base parameters were passed in, clear them
for bparam in self.base.keys():
for bparam in self.base:
params.pop(bparam, None)

return params
Expand Down
2 changes: 1 addition & 1 deletion neurodsp/sim/update.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def param_sample_yielder(sim_params, samplers, n_samples=None):
Simulation parameter definition.
"""

for ind in counter(n_samples):
for _ in counter(n_samples):
out_params = deepcopy(sim_params)
for updater, sampler in samplers.items():
updater(out_params, next(sampler))
Expand Down
2 changes: 1 addition & 1 deletion neurodsp/spectral/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Spectral module, for calculating power spectra, spectral variance, etc."""

from .power import (compute_spectrum, compute_spectrum_welch, compute_spectrum_wavelet,
from .power import (compute_spectrum, compute_spectrum_welch, compute_spectrum_wavelet,
compute_spectrum_medfilt, compute_spectrum_multitaper)
from .measures import compute_absolute_power, compute_relative_power, compute_band_ratio
from .variance import compute_scv, compute_scv_rs, compute_spectral_hist
Expand Down

0 comments on commit ce3b1f8

Please sign in to comment.