From 71e8c3d743dfa2c4fceea62c434463b825a1a8e8 Mon Sep 17 00:00:00 2001 From: Cody Baker <51133164+CodyCBakerPhD@users.noreply.github.com> Date: Tue, 18 Jul 2023 15:43:13 -0400 Subject: [PATCH] black and import --- dandi/pynwb_utils.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dandi/pynwb_utils.py b/dandi/pynwb_utils.py index 076d4d54f..b13d3ae53 100644 --- a/dandi/pynwb_utils.py +++ b/dandi/pynwb_utils.py @@ -6,7 +6,7 @@ import os.path as op from pathlib import Path import re -from typing import IO, Any, Dict, List, Optional, Tuple, TypeVar, Union, cast +from typing import IO, Any, Dict, List, Literal, Optional, Tuple, TypeVar, Union, cast import warnings import dandischema @@ -483,7 +483,11 @@ def get_object_id(path: str | Path | Readable) -> Any: def make_nwb_file( - filename: StrPath, *args: Any, cache_spec: bool = False, backend: Literal["hdf5", "zarr"] = "hdf5", **kwargs: Any + filename: StrPath, + *args: Any, + cache_spec: bool = False, + backend: Literal["hdf5", "zarr"] = "hdf5", + **kwargs: Any, ) -> StrPath: """A little helper to produce an .nwb file in the path using NWBFile