Skip to content

Commit

Permalink
add return type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
dmalt committed Aug 18, 2022
1 parent 413dd4d commit 4422e0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rawdata/code/preproc/011-annotate_premaxfilt.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from hydra.core.config_store import ConfigStore
from mne.annotations import read_annotations # type: ignore
from mne.io.fiff.raw import read_raw_fif # type: ignore

from utils import BaseConfig, prepare_script, read_bad_channels, write_bad_channels

matplotlib.use("TkAgg")
Expand Down Expand Up @@ -41,7 +42,7 @@ class Config(BaseConfig):


@hydra.main(config_path="../configs/", config_name="011-annotate_premaxfilt")
def main(cfg: Config):
def main(cfg: Config) -> None:
prepare_script(logger, script_name=__file__)
raw = read_raw_fif(cfg.input.raw)
if Path(cfg.output.bad_ch).exists():
Expand Down

0 comments on commit 4422e0a

Please sign in to comment.