diff --git a/docs/user_guide/using_the_library.rst b/docs/user_guide/using_the_library.rst index 49fb9d81a..6efa2e8fc 100644 --- a/docs/user_guide/using_the_library.rst +++ b/docs/user_guide/using_the_library.rst @@ -108,7 +108,7 @@ additionally specify this with the ``dandiset_version`` argument. from nwbinspector import inspect_dandiset dandiset_id = "000004" - version_id = "0.220126.1851" + dandiset_version = "0.220126.1851" messages = list(inspect_dandiset(dandiset_id=dandiset_id, dandiset_version=dandiset_version)) diff --git a/src/nwbinspector/testing/_testing.py b/src/nwbinspector/testing/_testing.py index 863dddaef..eb2b36024 100644 --- a/src/nwbinspector/testing/_testing.py +++ b/src/nwbinspector/testing/_testing.py @@ -45,7 +45,7 @@ def check_streaming_tests_enabled() -> Tuple[bool, Optional[str]]: failure_reason += "The DANDI package is not installed on the system." have_remfile = is_module_installed("remfile") - if not have_dandi: + if not have_remfile: failure_reason += "The `remfile` package is not installed on the system." failure_reason = None if failure_reason == "" else failure_reason