Skip to content

Commit

Permalink
fix circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
matsvanes committed Jan 7, 2025
1 parent a2f2f04 commit dcfd22e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions osl_ephys/report/preproc_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@

from ..utils import process_file_inputs, validate_outdir
from ..utils.logger import log_or_print
from ..preprocessing import (
read_dataset,
load_config,
get_config_from_fif,
plot_preproc_flowchart,
)


# ----------------------------------------------------------------------------------
Expand All @@ -64,6 +58,7 @@ def gen_report_from_fif(infiles, outdir, ftype=None, logsdir=None, run_id=None):
run_id : str
Run ID.
"""
from ..preprocessing import read_dataset

# Validate input files and directory to save html file and plots to
infiles, outnames, good_files = process_file_inputs(infiles)
Expand Down Expand Up @@ -493,7 +488,7 @@ def plot_flowchart(raw, savebase=None):
Path to saved figure.
"""

from ..preprocessing import get_config_from_fif, plot_preproc_flowchart
# Get config info from raw.info['description']
config_list = get_config_from_fif(raw)

Expand Down

0 comments on commit dcfd22e

Please sign in to comment.