diff --git a/bnd/cli.py b/bnd/cli.py index c5c2e37..7f591d6 100644 --- a/bnd/cli.py +++ b/bnd/cli.py @@ -61,7 +61,7 @@ def to_pyal( `bnd to-pyal M037_2024_01_01_10_00 -c # Uses custom mapping """ _check_processing_dependencies() - from bnd.pipeline.pyaldata import run_pyaldata_conversion + from .pipeline.pyaldata import run_pyaldata_conversion # Load config and get session path config = _load_config() @@ -105,7 +105,7 @@ def to_nwb( """ # TODO: Add channel map argument: no-map, default-map, custom-map # _check_processing_dependencies() - from bnd.pipeline.nwb import run_nwb_conversion + from .pipeline.nwb import run_nwb_conversion config = _load_config() session_path = config.get_local_session_path(session_name) @@ -129,7 +129,7 @@ def ksort(session_name: str = typer.Argument(help="Session name to kilosort")) - """ # this will throw an error if the dependencies are not available _check_processing_dependencies() - from bnd.pipeline.kilosort import run_kilosort_on_session + from .pipeline.kilosort import run_kilosort_on_session config = _load_config() session_path = config.get_local_session_path(session_name) diff --git a/bnd/pipeline/nwbtools/anipose_interface.py b/bnd/pipeline/nwbtools/anipose_interface.py index fc9472f..2302ddb 100644 --- a/bnd/pipeline/nwbtools/anipose_interface.py +++ b/bnd/pipeline/nwbtools/anipose_interface.py @@ -12,7 +12,7 @@ from neuroconv.utils import DeepDict from pynwb import NWBFile -from bnd import set_logging +from ...logger import set_logging logger = set_logging(__name__)