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 26, 2022
1 parent b7c36da commit bb32f0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rawdata/code/preproc/041-compute_ica.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import mne # type: ignore
from hydra.core.config_store import ConfigStore
from mne.preprocessing import ICA # type: ignore

from utils import BaseConfig

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -73,7 +74,7 @@ def compute_ica(raw: mne.io.Raw, init_cfg: IcaInitParams, fit_cfg: IcaFitParams)


@hydra.main(config_path="../configs/", config_name="041-compute_ica")
def main(cfg: Config):
def main(cfg: Config) -> None:
logger.info(f"Starting new session for {__file__}")
logger.info(f"Current working directory is {os.getcwd()}")

Expand Down

0 comments on commit bb32f0f

Please sign in to comment.