From 12abcbfd4f5ec06b77ba2bb3f22fc905895e2d25 Mon Sep 17 00:00:00 2001 From: "John T. Wodder II" Date: Fri, 10 Nov 2023 17:10:26 -0500 Subject: [PATCH] Fixes --- dandi/cli/cmd_ls.py | 2 +- dandi/metadata/nwb.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dandi/cli/cmd_ls.py b/dandi/cli/cmd_ls.py index 7241dd48b..0cfacaeb3 100644 --- a/dandi/cli/cmd_ls.py +++ b/dandi/cli/cmd_ls.py @@ -331,7 +331,7 @@ def get_metadata_ls( path, keys, errors, flatten=False, schema=None, use_fake_digest=False ): from ..dandiset import Dandiset - from ..metadata import get_metadata, nwb2asset + from ..metadata.nwb import get_metadata, nwb2asset from ..pynwb_utils import get_nwb_version, ignore_benign_pynwb_warnings from ..support.digests import get_digest diff --git a/dandi/metadata/nwb.py b/dandi/metadata/nwb.py index fcdd2f04d..0c7583922 100644 --- a/dandi/metadata/nwb.py +++ b/dandi/metadata/nwb.py @@ -43,7 +43,7 @@ def get_metadata( dict """ - from .files import bids, dandi_file, find_bids_dataset_description + from ..files import bids, dandi_file, find_bids_dataset_description # when we run in parallel, these annoying warnings appear ignore_benign_pynwb_warnings()