From fdf80666fb0c780ecea8df08548d2e84723c0961 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Mon, 8 Jul 2024 19:29:48 -0700 Subject: [PATCH] regenerate models with numpydantic --- .../src/nwb_linkml/generators/pydantic.py | 4 +- .../pydantic/core/v2_2_0/core_nwb_base.py | 32 +-------- .../pydantic/core/v2_2_0/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_2_0/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_2_0/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_2_0/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_2_0/core_nwb_file.py | 48 ++++---------- .../pydantic/core/v2_2_0/core_nwb_icephys.py | 36 ++-------- .../pydantic/core/v2_2_0/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_2_0/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_2_0/core_nwb_misc.py | 38 ++--------- .../pydantic/core/v2_2_0/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_2_0/core_nwb_ophys.py | 38 ++--------- .../core/v2_2_0/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_2_0/namespace.py | 30 +-------- .../pydantic/core/v2_2_1/core_nwb_base.py | 32 +-------- .../pydantic/core/v2_2_1/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_2_1/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_2_1/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_2_1/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_2_1/core_nwb_file.py | 48 ++++---------- .../pydantic/core/v2_2_1/core_nwb_icephys.py | 36 ++-------- .../pydantic/core/v2_2_1/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_2_1/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_2_1/core_nwb_misc.py | 38 ++--------- .../pydantic/core/v2_2_1/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_2_1/core_nwb_ophys.py | 38 ++--------- .../core/v2_2_1/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_2_1/namespace.py | 30 +-------- .../pydantic/core/v2_2_2/core_nwb_base.py | 32 +-------- .../pydantic/core/v2_2_2/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_2_2/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_2_2/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_2_2/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_2_2/core_nwb_file.py | 48 ++++---------- .../pydantic/core/v2_2_2/core_nwb_icephys.py | 36 ++-------- .../pydantic/core/v2_2_2/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_2_2/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_2_2/core_nwb_misc.py | 38 ++--------- .../pydantic/core/v2_2_2/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_2_2/core_nwb_ophys.py | 38 ++--------- .../core/v2_2_2/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_2_2/namespace.py | 30 +-------- .../pydantic/core/v2_2_4/core_nwb_base.py | 32 +-------- .../pydantic/core/v2_2_4/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_2_4/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_2_4/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_2_4/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_2_4/core_nwb_file.py | 50 ++++---------- .../pydantic/core/v2_2_4/core_nwb_icephys.py | 36 ++-------- .../pydantic/core/v2_2_4/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_2_4/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_2_4/core_nwb_misc.py | 38 ++--------- .../pydantic/core/v2_2_4/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_2_4/core_nwb_ophys.py | 50 ++++---------- .../core/v2_2_4/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_2_4/namespace.py | 30 +-------- .../pydantic/core/v2_2_5/core_nwb_base.py | 32 +-------- .../pydantic/core/v2_2_5/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_2_5/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_2_5/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_2_5/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_2_5/core_nwb_file.py | 50 ++++---------- .../pydantic/core/v2_2_5/core_nwb_icephys.py | 36 ++-------- .../pydantic/core/v2_2_5/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_2_5/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_2_5/core_nwb_misc.py | 38 ++--------- .../pydantic/core/v2_2_5/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_2_5/core_nwb_ophys.py | 50 ++++---------- .../core/v2_2_5/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_2_5/namespace.py | 30 +-------- .../pydantic/core/v2_3_0/core_nwb_base.py | 32 +-------- .../pydantic/core/v2_3_0/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_3_0/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_3_0/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_3_0/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_3_0/core_nwb_file.py | 48 ++++---------- .../pydantic/core/v2_3_0/core_nwb_icephys.py | 36 ++-------- .../pydantic/core/v2_3_0/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_3_0/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_3_0/core_nwb_misc.py | 40 ++--------- .../pydantic/core/v2_3_0/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_3_0/core_nwb_ophys.py | 50 ++++---------- .../core/v2_3_0/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_3_0/namespace.py | 30 +-------- .../pydantic/core/v2_4_0/core_nwb_base.py | 34 ++-------- .../pydantic/core/v2_4_0/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_4_0/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_4_0/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_4_0/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_4_0/core_nwb_file.py | 64 ++++++------------ .../pydantic/core/v2_4_0/core_nwb_icephys.py | 40 ++--------- .../pydantic/core/v2_4_0/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_4_0/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_4_0/core_nwb_misc.py | 40 ++--------- .../pydantic/core/v2_4_0/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_4_0/core_nwb_ophys.py | 50 ++++---------- .../core/v2_4_0/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_4_0/namespace.py | 30 +-------- .../pydantic/core/v2_5_0/core_nwb_base.py | 34 ++-------- .../pydantic/core/v2_5_0/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_5_0/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_5_0/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_5_0/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_5_0/core_nwb_file.py | 66 ++++++------------- .../pydantic/core/v2_5_0/core_nwb_icephys.py | 40 ++--------- .../pydantic/core/v2_5_0/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_5_0/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_5_0/core_nwb_misc.py | 40 ++--------- .../pydantic/core/v2_5_0/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_5_0/core_nwb_ophys.py | 50 ++++---------- .../core/v2_5_0/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_5_0/namespace.py | 30 +-------- .../core/v2_6_0_alpha/core_nwb_base.py | 34 ++-------- .../core/v2_6_0_alpha/core_nwb_behavior.py | 32 +-------- .../core/v2_6_0_alpha/core_nwb_device.py | 30 +-------- .../core/v2_6_0_alpha/core_nwb_ecephys.py | 36 ++-------- .../core/v2_6_0_alpha/core_nwb_epoch.py | 36 ++-------- .../core/v2_6_0_alpha/core_nwb_file.py | 66 ++++++------------- .../core/v2_6_0_alpha/core_nwb_icephys.py | 40 ++--------- .../core/v2_6_0_alpha/core_nwb_image.py | 32 +-------- .../core/v2_6_0_alpha/core_nwb_language.py | 30 +-------- .../core/v2_6_0_alpha/core_nwb_misc.py | 40 ++--------- .../core/v2_6_0_alpha/core_nwb_ogen.py | 32 +-------- .../core/v2_6_0_alpha/core_nwb_ophys.py | 50 ++++---------- .../core/v2_6_0_alpha/core_nwb_retinotopy.py | 30 +-------- .../pydantic/core/v2_6_0_alpha/namespace.py | 30 +-------- .../pydantic/core/v2_7_0/core_nwb_base.py | 34 ++-------- .../pydantic/core/v2_7_0/core_nwb_behavior.py | 32 +-------- .../pydantic/core/v2_7_0/core_nwb_device.py | 30 +-------- .../pydantic/core/v2_7_0/core_nwb_ecephys.py | 36 ++-------- .../pydantic/core/v2_7_0/core_nwb_epoch.py | 36 ++-------- .../pydantic/core/v2_7_0/core_nwb_file.py | 66 ++++++------------- .../pydantic/core/v2_7_0/core_nwb_icephys.py | 40 ++--------- .../pydantic/core/v2_7_0/core_nwb_image.py | 32 +-------- .../pydantic/core/v2_7_0/core_nwb_language.py | 30 +-------- .../pydantic/core/v2_7_0/core_nwb_misc.py | 40 ++--------- .../pydantic/core/v2_7_0/core_nwb_ogen.py | 32 +-------- .../pydantic/core/v2_7_0/core_nwb_ophys.py | 50 ++++---------- .../core/v2_7_0/core_nwb_retinotopy.py | 30 +-------- .../models/pydantic/core/v2_7_0/namespace.py | 30 +-------- .../v1_1_0/hdmf_common_nwb_language.py | 30 +-------- .../hdmf_common/v1_1_0/hdmf_common_sparse.py | 30 +-------- .../hdmf_common/v1_1_0/hdmf_common_table.py | 30 +-------- .../pydantic/hdmf_common/v1_1_0/namespace.py | 30 +-------- .../v1_1_2/hdmf_common_nwb_language.py | 30 +-------- .../hdmf_common/v1_1_2/hdmf_common_sparse.py | 30 +-------- .../hdmf_common/v1_1_2/hdmf_common_table.py | 30 +-------- .../pydantic/hdmf_common/v1_1_2/namespace.py | 30 +-------- .../v1_1_3/hdmf_common_nwb_language.py | 30 +-------- .../hdmf_common/v1_1_3/hdmf_common_sparse.py | 30 +-------- .../hdmf_common/v1_1_3/hdmf_common_table.py | 30 +-------- .../pydantic/hdmf_common/v1_1_3/namespace.py | 30 +-------- .../hdmf_common/v1_5_0/hdmf_common_base.py | 30 +-------- .../v1_5_0/hdmf_common_nwb_language.py | 30 +-------- .../hdmf_common/v1_5_0/hdmf_common_sparse.py | 30 +-------- .../hdmf_common/v1_5_0/hdmf_common_table.py | 32 +-------- .../pydantic/hdmf_common/v1_5_0/namespace.py | 30 +-------- .../hdmf_common/v1_8_0/hdmf_common_base.py | 30 +-------- .../v1_8_0/hdmf_common_nwb_language.py | 30 +-------- .../hdmf_common/v1_8_0/hdmf_common_sparse.py | 30 +-------- .../hdmf_common/v1_8_0/hdmf_common_table.py | 32 +-------- .../pydantic/hdmf_common/v1_8_0/namespace.py | 30 +-------- .../v0_1_0/hdmf_experimental_experimental.py | 30 +-------- .../v0_1_0/hdmf_experimental_nwb_language.py | 30 +-------- .../v0_1_0/hdmf_experimental_resources.py | 32 +-------- .../hdmf_experimental/v0_1_0/namespace.py | 30 +-------- .../v0_5_0/hdmf_experimental_experimental.py | 30 +-------- .../v0_5_0/hdmf_experimental_nwb_language.py | 30 +-------- .../v0_5_0/hdmf_experimental_resources.py | 32 +-------- .../hdmf_experimental/v0_5_0/namespace.py | 30 +-------- 171 files changed, 742 insertions(+), 5162 deletions(-) diff --git a/nwb_linkml/src/nwb_linkml/generators/pydantic.py b/nwb_linkml/src/nwb_linkml/generators/pydantic.py index 6c50f49..41192f7 100644 --- a/nwb_linkml/src/nwb_linkml/generators/pydantic.py +++ b/nwb_linkml/src/nwb_linkml/generators/pydantic.py @@ -93,8 +93,8 @@ from pydantic import BaseModel as BaseModel, Field""" from pydantic import ConfigDict, BeforeValidator """ template += """ -from nptyping import Shape, Float, Float32, Double, Float64, LongLong, Int64, Int, Int32, Int16, Short, Int8, UInt, UInt32, UInt16, UInt8, UInt64, Number, String, Unicode, Unicode, Unicode, String, Bool, Datetime64 -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): from typing import Literal diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_base.py index b87dee5..8b185f9 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_1_0.hdmf_common_table import Data, Container, DynamicTable +from ...hdmf_common.v1_1_0.hdmf_common_table import Container, Data, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_behavior.py index 4510297..f72bf99 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_device.py index 6c7d3f7..5277903 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ecephys.py index 4bf24a7..a5382bd 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_epoch.py index 70f543f..4ef7020 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries + from ...hdmf_common.v1_1_0.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries - metamodel_version = "None" version = "2.2.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_file.py index b2ffd1d..a49386a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,27 +27,27 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane -from .core_nwb_icephys import IntracellularElectrode, SweepTable - -from .core_nwb_base import NWBContainer, TimeSeries, NWBDataInterface, ProcessingModule +from .core_nwb_base import TimeSeries, NWBDataInterface, ProcessingModule, NWBContainer from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_1_0.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) +from .core_nwb_icephys import IntracellularElectrode, SweepTable + +from .core_nwb_ogen import OptogeneticStimulusSite + from .core_nwb_misc import Units -from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_icephys.py index d73fc63..b515f02 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,16 +28,16 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, ) from ...hdmf_common.v1_1_0.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_image.py index 0cf42cf..e2ce562 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_misc.py index 72c5b83..4eb8b57 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,15 +27,15 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + from ...hdmf_common.v1_1_0.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, VectorIndex, VectorData, - DynamicTable, - DynamicTableRegion, ) -from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries - from .core_nwb_ecephys import ElectrodeGroup diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ogen.py index 6636d32..71266f5 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ophys.py index 6bd1472..d88b691 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np +from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, DynamicTableRegion + from .core_nwb_base import ( NWBDataInterface, TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, NWBContainer, + TimeSeriesSync, ) -from .core_nwb_image import ImageSeriesExternalFile, ImageSeries - -from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, DynamicTableRegion +from .core_nwb_image import ImageSeries, ImageSeriesExternalFile metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py index 84b6ed7..b90c155 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/namespace.py index 70335e7..bb9e62b 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_base.py index f97e831..42e887f 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_1_2.hdmf_common_table import Data, Container, DynamicTable +from ...hdmf_common.v1_1_2.hdmf_common_table import Container, Data, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_behavior.py index 3ed879b..8322f55 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_device.py index f37190a..5a094c5 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ecephys.py index 7c61201..510cd49 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_epoch.py index c7d8b98..9984f79 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries + from ...hdmf_common.v1_1_2.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries - metamodel_version = "None" version = "2.2.1" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_file.py index 5e326ca..61b31eb 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,27 +27,27 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane -from .core_nwb_icephys import IntracellularElectrode, SweepTable - -from .core_nwb_base import NWBContainer, TimeSeries, NWBDataInterface, ProcessingModule +from .core_nwb_base import TimeSeries, NWBDataInterface, ProcessingModule, NWBContainer from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_1_2.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) +from .core_nwb_icephys import IntracellularElectrode, SweepTable + +from .core_nwb_ogen import OptogeneticStimulusSite + from .core_nwb_misc import Units -from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_icephys.py index 7388550..7b59c71 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,16 +28,16 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, ) from ...hdmf_common.v1_1_2.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_image.py index 99d6f4c..020436f 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_misc.py index 2dc81ae..35abf70 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,15 +27,15 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + from ...hdmf_common.v1_1_2.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, VectorIndex, VectorData, - DynamicTable, - DynamicTableRegion, ) -from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries - from .core_nwb_ecephys import ElectrodeGroup diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ogen.py index 8a658dd..5f19f64 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ophys.py index 5accbce..cbceea3 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np +from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, DynamicTableRegion + from .core_nwb_base import ( NWBDataInterface, TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, NWBContainer, + TimeSeriesSync, ) -from .core_nwb_image import ImageSeriesExternalFile, ImageSeries - -from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, DynamicTableRegion +from .core_nwb_image import ImageSeries, ImageSeriesExternalFile metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py index 004c4d7..198a64b 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/namespace.py index 3c7ae26..f645bea 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_1/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_base.py index b0ca8c1..cc3fe09 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable +from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_behavior.py index a6cea06..05ddcd3 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_device.py index d0696c1..78c7a06 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ecephys.py index 700ce0d..9143d05 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_epoch.py index 0eec394..2164a6c 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries + from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries - metamodel_version = "None" version = "2.2.2" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_file.py index 7adbfcc..3e80143 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,27 +27,27 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane -from .core_nwb_icephys import IntracellularElectrode, SweepTable - -from .core_nwb_base import NWBContainer, TimeSeries, NWBDataInterface, ProcessingModule +from .core_nwb_base import TimeSeries, NWBDataInterface, ProcessingModule, NWBContainer from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) +from .core_nwb_icephys import IntracellularElectrode, SweepTable + +from .core_nwb_ogen import OptogeneticStimulusSite + from .core_nwb_misc import Units -from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_icephys.py index 198b6a4..9ccfc33 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,16 +28,16 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, ) from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_image.py index 97c3457..4a0cc17 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_misc.py index 2419df2..3e9ae8e 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,15 +27,15 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, VectorIndex, VectorData, - DynamicTable, - DynamicTableRegion, ) -from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries - from .core_nwb_ecephys import ElectrodeGroup diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ogen.py index b699a5d..944f65a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ophys.py index fa61adc..3a59c4d 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion + from .core_nwb_base import ( NWBDataInterface, TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, NWBContainer, + TimeSeriesSync, ) -from .core_nwb_image import ImageSeriesExternalFile, ImageSeries - -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion +from .core_nwb_image import ImageSeries, ImageSeriesExternalFile metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py index e535818..afade9e 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/namespace.py index 41ea4b2..09a8983 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_2/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_base.py index 2291a3e..33b0e90 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable +from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_behavior.py index bdee632..b143c39 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_device.py index 4105070..89aaf36 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ecephys.py index 26d9f34..9fb3557 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_epoch.py index 8ec9f63..5e0d2d3 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries + from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries - metamodel_version = "None" version = "2.2.4" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_file.py index d3e1a13..7b791e5 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,33 +27,33 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane -from .core_nwb_icephys import IntracellularElectrode, SweepTable - from .core_nwb_base import ( - NWBContainer, - NWBData, TimeSeries, NWBDataInterface, ProcessingModule, + NWBContainer, + NWBData, ) from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) +from .core_nwb_icephys import IntracellularElectrode, SweepTable + +from .core_nwb_ogen import OptogeneticStimulusSite + from .core_nwb_misc import Units -from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_icephys.py index ba990ac..75275fc 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,16 +28,16 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, ) from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_image.py index e23a743..be82dd2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_misc.py index 6747904..890e25b 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,15 +27,15 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, VectorIndex, VectorData, - DynamicTable, - DynamicTableRegion, ) -from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries - from .core_nwb_ecephys import ElectrodeGroup diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ogen.py index 943343b..dfab333 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ophys.py index 2b9b2d2..2c3884e 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,22 +28,22 @@ if TYPE_CHECKING: from .core_nwb_base import ( + TimeSeries, + TimeSeriesSync, + NWBDataInterface, TimeSeriesStartingTime, NWBContainer, - TimeSeries, - NWBDataInterface, - TimeSeriesSync, +) + +from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, + VectorData, + VectorIndex, ) from .core_nwb_image import ImageSeries, ImageSeriesExternalFile -from ...hdmf_common.v1_1_3.hdmf_common_table import ( - DynamicTable, - DynamicTableRegion, - VectorIndex, - VectorData, -) - metamodel_version = "None" version = "2.2.4" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py index 1638c17..12df614 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/namespace.py index 63ef3bc..2414647 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_4/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_base.py index dadf59e..febf0d8 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable +from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_behavior.py index f523567..00fc7b8 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_device.py index 2041d19..2f1b9e4 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ecephys.py index 75c6b24..58b45e8 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_epoch.py index 7fb6cef..ec7b0d2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries + from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries - metamodel_version = "None" version = "2.2.5" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_file.py index e8f808c..7d21b7c 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,33 +27,33 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane -from .core_nwb_icephys import IntracellularElectrode, SweepTable - from .core_nwb_base import ( - NWBContainer, - NWBData, TimeSeries, NWBDataInterface, ProcessingModule, + NWBContainer, + NWBData, ) from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) +from .core_nwb_icephys import IntracellularElectrode, SweepTable + +from .core_nwb_ogen import OptogeneticStimulusSite + from .core_nwb_misc import Units -from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_icephys.py index 3693b66..a73a5b8 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,16 +28,16 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, ) from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_image.py index 4b0cf89..1d2284a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_misc.py index f5e25df..55edb05 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,15 +27,15 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, VectorIndex, VectorData, - DynamicTable, - DynamicTableRegion, ) -from .core_nwb_base import TimeSeriesStartingTime, TimeSeriesSync, TimeSeries - from .core_nwb_ecephys import ElectrodeGroup diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ogen.py index 277e33a..79263be 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ophys.py index 88676cd..f7efc1e 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,22 +28,22 @@ if TYPE_CHECKING: from .core_nwb_base import ( + TimeSeries, + TimeSeriesSync, + NWBDataInterface, TimeSeriesStartingTime, NWBContainer, - TimeSeries, - NWBDataInterface, - TimeSeriesSync, +) + +from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, + VectorData, + VectorIndex, ) from .core_nwb_image import ImageSeries, ImageSeriesExternalFile -from ...hdmf_common.v1_1_3.hdmf_common_table import ( - DynamicTable, - DynamicTableRegion, - VectorIndex, - VectorData, -) - metamodel_version = "None" version = "2.2.5" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py index 91b167c..4874895 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/namespace.py index 4394bc6..502d3ea 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_2_5/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_base.py index d7ba412..b867caf 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_behavior.py index 7b14b83..6fb99ed 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_device.py index 310c48d..05419ba 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ecephys.py index ae450e4..8418015 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_epoch.py index fca2141..108c6a0 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries + from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries - metamodel_version = "None" version = "2.3.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_file.py index bdccafe..040df51 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,30 +27,30 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane -from .core_nwb_icephys import IntracellularElectrode, SweepTable - from .core_nwb_base import ( - NWBContainer, - NWBData, TimeSeries, NWBDataInterface, ProcessingModule, + NWBContainer, + NWBData, ) from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from .core_nwb_misc import Units +from .core_nwb_icephys import IntracellularElectrode, SweepTable from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_misc import Units + +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_icephys.py index 4423d81..ace8c1a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,16 +28,16 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, ) from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTable, - VectorIndex, VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_image.py index 80dfacf..425dc85 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_misc.py index 8c196cf..03aaa01 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync - -from .core_nwb_ecephys import ElectrodeGroup +from .core_nwb_base import TimeSeries, TimeSeriesSync, TimeSeriesStartingTime from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, + DynamicTable, VectorData, + VectorIndex, ) +from .core_nwb_ecephys import ElectrodeGroup + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ogen.py index ee05ed6..9ade7da 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ophys.py index 0ea1827..c9f7f99 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,22 +28,22 @@ if TYPE_CHECKING: from .core_nwb_base import ( + TimeSeries, + TimeSeriesSync, + NWBDataInterface, TimeSeriesStartingTime, NWBContainer, - TimeSeries, - NWBDataInterface, - TimeSeriesSync, +) + +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, + VectorData, + VectorIndex, ) from .core_nwb_image import ImageSeries, ImageSeriesExternalFile -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, - DynamicTableRegion, - VectorIndex, - VectorData, -) - metamodel_version = "None" version = "2.3.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py index 18428fd..53ba1cb 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/namespace.py index 8985d6a..f452b2a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_3_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_base.py index 70d4dd6..30a9e20 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,9 +27,9 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_behavior.py index 08a2015..e0b6810 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_device.py index dad1321..47ce3cd 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ecephys.py index 3b10db2..2889380 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_epoch.py index 8a98b22..6c92859 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries + from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries - metamodel_version = "None" version = "2.4.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_file.py index b4e397e..f89f7ab 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,38 +27,38 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_icephys import ( - SequentialRecordingsTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - IntracellularElectrode, - ExperimentalConditionsTable, - SweepTable, - RepetitionsTable, -) - -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane from .core_nwb_base import ( - NWBContainer, - NWBData, TimeSeries, NWBDataInterface, ProcessingModule, + NWBContainer, + NWBData, ) from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from .core_nwb_misc import Units +from .core_nwb_icephys import ( + RepetitionsTable, + IntracellularElectrode, + SequentialRecordingsTable, + IntracellularRecordingsTable, + SweepTable, + ExperimentalConditionsTable, + SimultaneousRecordingsTable, +) from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_misc import Units + +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_icephys.py index dad9e3e..a8b83e6 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,19 +28,19 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, TimeSeriesReferenceVectorData, ) from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, - VectorData, + DynamicTable, AlignedDynamicTable, + VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_image.py index 138537d..b9f3bd2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_misc.py index e338d7e..ea7c764 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync - -from .core_nwb_ecephys import ElectrodeGroup +from .core_nwb_base import TimeSeries, TimeSeriesSync, TimeSeriesStartingTime from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, + DynamicTable, VectorData, + VectorIndex, ) +from .core_nwb_ecephys import ElectrodeGroup + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ogen.py index a4cc7a3..79baa5f 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ophys.py index dc4280c..5991925 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,22 +28,22 @@ if TYPE_CHECKING: from .core_nwb_base import ( + TimeSeries, + TimeSeriesSync, + NWBDataInterface, TimeSeriesStartingTime, NWBContainer, - TimeSeries, - NWBDataInterface, - TimeSeriesSync, +) + +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, + VectorData, + VectorIndex, ) from .core_nwb_image import ImageSeries, ImageSeriesExternalFile -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, - DynamicTableRegion, - VectorIndex, - VectorData, -) - metamodel_version = "None" version = "2.4.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py index 88d3f4c..f5bd3e2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/namespace.py index 6e2b7c8..39774c7 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_4_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_base.py index 2143bd6..d6a19f3 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,9 +27,9 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_behavior.py index 77f5f81..4dec916 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_device.py index c10e955..b4f2964 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ecephys.py index f6347ac..b3e6bef 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_epoch.py index 3a1d5fe..5c8cf58 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData + from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData - metamodel_version = "None" version = "2.5.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_file.py index dde706a..5d13e87 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,39 +27,39 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_icephys import ( - SequentialRecordingsTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - IntracellularElectrode, - ExperimentalConditionsTable, - SweepTable, - RepetitionsTable, -) - -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane from .core_nwb_base import ( - NWBContainer, - NWBData, TimeSeries, - Images, NWBDataInterface, ProcessingModule, + NWBContainer, + NWBData, + Images, ) from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from .core_nwb_misc import Units +from .core_nwb_icephys import ( + RepetitionsTable, + IntracellularElectrode, + SequentialRecordingsTable, + IntracellularRecordingsTable, + SweepTable, + ExperimentalConditionsTable, + SimultaneousRecordingsTable, +) from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_misc import Units + +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_icephys.py index 86e6749..a49ba27 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,19 +28,19 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, TimeSeriesReferenceVectorData, ) from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, - VectorData, + DynamicTable, AlignedDynamicTable, + VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_image.py index 6ddd8ad..c9a9372 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_misc.py index 2dec894..04b3e4d 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync - -from .core_nwb_ecephys import ElectrodeGroup +from .core_nwb_base import TimeSeries, TimeSeriesSync, TimeSeriesStartingTime from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, + DynamicTable, VectorData, + VectorIndex, ) +from .core_nwb_ecephys import ElectrodeGroup + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ogen.py index b82ecde..8f765c9 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ophys.py index 757b2c8..ec962e1 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,22 +28,22 @@ if TYPE_CHECKING: from .core_nwb_base import ( + TimeSeries, + TimeSeriesSync, + NWBDataInterface, TimeSeriesStartingTime, NWBContainer, - TimeSeries, - NWBDataInterface, - TimeSeriesSync, +) + +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, + VectorData, + VectorIndex, ) from .core_nwb_image import ImageSeries, ImageSeriesExternalFile -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, - DynamicTableRegion, - VectorIndex, - VectorData, -) - metamodel_version = "None" version = "2.5.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py index 93a4bb9..1205fab 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/namespace.py index 6146cc5..23ef74f 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_5_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py index eef37a8..edb59f7 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,9 +27,9 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py index c81d141..97b63a5 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py index 066ae88..27829dd 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py index 8b62b44..e1017cf 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py index 194d436..ea7648b 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData + from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData - metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py index 9296cef..34d7161 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,39 +27,39 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_icephys import ( - SequentialRecordingsTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - IntracellularElectrode, - ExperimentalConditionsTable, - SweepTable, - RepetitionsTable, -) - -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane from .core_nwb_base import ( - NWBContainer, - NWBData, TimeSeries, - Images, NWBDataInterface, ProcessingModule, + NWBContainer, + NWBData, + Images, ) from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from .core_nwb_misc import Units +from .core_nwb_icephys import ( + RepetitionsTable, + IntracellularElectrode, + SequentialRecordingsTable, + IntracellularRecordingsTable, + SweepTable, + ExperimentalConditionsTable, + SimultaneousRecordingsTable, +) from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_misc import Units + +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py index 13ec765..d7b37cd 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,19 +28,19 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, TimeSeriesReferenceVectorData, ) from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, - VectorData, + DynamicTable, AlignedDynamicTable, + VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py index 223b0dc..8226cde 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py index c8f379c..4b7715c 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync - -from .core_nwb_ecephys import ElectrodeGroup +from .core_nwb_base import TimeSeries, TimeSeriesSync, TimeSeriesStartingTime from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, + DynamicTable, VectorData, + VectorIndex, ) +from .core_nwb_ecephys import ElectrodeGroup + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py index f8b60d7..5e08ac2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py index f993dfe..13e447a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,22 +28,22 @@ if TYPE_CHECKING: from .core_nwb_base import ( + TimeSeries, + TimeSeriesSync, + NWBDataInterface, TimeSeriesStartingTime, NWBContainer, - TimeSeries, - NWBDataInterface, - TimeSeriesSync, +) + +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, + VectorData, + VectorIndex, ) from .core_nwb_image import ImageSeries, ImageSeriesExternalFile -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, - DynamicTableRegion, - VectorIndex, - VectorData, -) - metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py index 8785997..c6e4c54 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/namespace.py index 88c4dae..bd30a3a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_base.py index d4e8399..0cb791e 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,9 +27,9 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container +from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorData -from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData, DynamicTable +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_behavior.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_behavior.py index 7781093..bcb4530 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_behavior.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_behavior.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,9 +29,9 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, ) from .core_nwb_misc import IntervalSeries diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_device.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_device.py index fa8f8e4..e7bfbc4 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_device.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_device.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ecephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ecephys.py index c110d26..c7d5281 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ecephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ecephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,13 +29,13 @@ if TYPE_CHECKING: from .core_nwb_base import ( NWBDataInterface, - TimeSeriesStartingTime, - TimeSeriesSync, TimeSeries, + TimeSeriesStartingTime, NWBContainer, + TimeSeriesSync, ) -from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, DynamicTableRegion +from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTableRegion, DynamicTable metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_epoch.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_epoch.py index 3213dc6..cbe7e09 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_epoch.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_epoch.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,14 +27,14 @@ if TYPE_CHECKING: import numpy as np +from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData + from ...hdmf_common.v1_8_0.hdmf_common_table import ( + DynamicTable, VectorIndex, VectorData, - DynamicTable, ) -from .core_nwb_base import TimeSeries, TimeSeriesReferenceVectorData - metamodel_version = "None" version = "2.7.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_file.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_file.py index ffac815..15d7e9c 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_file.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_file.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,39 +27,39 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_icephys import ( - SequentialRecordingsTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - IntracellularElectrode, - ExperimentalConditionsTable, - SweepTable, - RepetitionsTable, -) - -from .core_nwb_device import Device - -from .core_nwb_ecephys import ElectrodeGroup - from .core_nwb_ophys import ImagingPlane from .core_nwb_base import ( - NWBContainer, - NWBData, TimeSeries, - Images, NWBDataInterface, ProcessingModule, + NWBContainer, + NWBData, + Images, ) from .core_nwb_epoch import TimeIntervals from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorData -from .core_nwb_misc import Units +from .core_nwb_icephys import ( + RepetitionsTable, + IntracellularElectrode, + SequentialRecordingsTable, + IntracellularRecordingsTable, + SweepTable, + ExperimentalConditionsTable, + SimultaneousRecordingsTable, +) from .core_nwb_ogen import OptogeneticStimulusSite +from .core_nwb_misc import Units + +from .core_nwb_ecephys import ElectrodeGroup + +from .core_nwb_device import Device + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_icephys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_icephys.py index f6ac233..e205af8 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_icephys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_icephys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,19 +28,19 @@ if TYPE_CHECKING: from .core_nwb_base import ( - TimeSeriesStartingTime, - NWBContainer, TimeSeries, TimeSeriesSync, + TimeSeriesStartingTime, + NWBContainer, TimeSeriesReferenceVectorData, ) from ...hdmf_common.v1_8_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, - VectorData, + DynamicTable, AlignedDynamicTable, + VectorData, + VectorIndex, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_image.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_image.py index 71b5633..8ab8ae0 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_image.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_image.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import Image, TimeSeriesStartingTime, TimeSeriesSync, TimeSeries +from .core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_misc.py index 7a875cb..8036441 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_misc.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_misc.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,17 +27,17 @@ if TYPE_CHECKING: import numpy as np -from .core_nwb_base import TimeSeriesStartingTime, TimeSeries, TimeSeriesSync - -from .core_nwb_ecephys import ElectrodeGroup +from .core_nwb_base import TimeSeries, TimeSeriesSync, TimeSeriesStartingTime from ...hdmf_common.v1_8_0.hdmf_common_table import ( - DynamicTable, DynamicTableRegion, - VectorIndex, + DynamicTable, VectorData, + VectorIndex, ) +from .core_nwb_ecephys import ElectrodeGroup + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ogen.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ogen.py index 0598f78..49effd2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ogen.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ogen.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -55,8 +29,8 @@ if TYPE_CHECKING: from .core_nwb_base import ( TimeSeriesSync, - NWBContainer, TimeSeries, + NWBContainer, TimeSeriesStartingTime, ) diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ophys.py index 19057e2..7c811da 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ophys.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_ophys.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -54,22 +28,22 @@ if TYPE_CHECKING: from .core_nwb_base import ( + TimeSeries, + TimeSeriesSync, + NWBDataInterface, TimeSeriesStartingTime, NWBContainer, - TimeSeries, - NWBDataInterface, - TimeSeriesSync, +) + +from ...hdmf_common.v1_8_0.hdmf_common_table import ( + DynamicTableRegion, + DynamicTable, + VectorData, + VectorIndex, ) from .core_nwb_image import ImageSeries, ImageSeriesExternalFile -from ...hdmf_common.v1_8_0.hdmf_common_table import ( - DynamicTable, - DynamicTableRegion, - VectorIndex, - VectorData, -) - metamodel_version = "None" version = "2.7.0" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py index 037a70c..2ea3f4d 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/namespace.py index 05648b2..280d797 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_7_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py index 46d3b76..1f4fe75 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py index 0fe1a19..afb66ce 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/namespace.py index b51df28..e7bd65b 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py index 67173a2..757bd91 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py index 2090d3b..a6dd80d 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/namespace.py index 5b61cad..585968b 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_2/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py index 69f5223..a586ef2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py index 09ffc1c..3d8adc1 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/namespace.py index 82deb5f..31de187 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_1_3/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py index 70d5e26..0e733d2 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py index 379c961..e35bb8a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py index 438670a..df6acb6 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .hdmf_common_base import Data, Container +from .hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/namespace.py index c8e87d0..a7b666f 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_5_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py index dde0ee4..b7f821d 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py index 49e0252..087f4d4 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py index 211fe46..17c69b1 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from .hdmf_common_base import Data, Container +from .hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/namespace.py index 36513c2..8d19caa 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/v1_8_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py index ed113da..9fd6763 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py index 5a84cab..c96ff47 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/namespace.py index 99871cb..5e5bd7a 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_1_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py index e3f105b..6cd3614 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_nwb_language.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_nwb_language.py index f3b68d9..9f13c86 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_nwb_language.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_nwb_language.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py index 4450d21..ed2437d 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8): @@ -53,7 +27,7 @@ if TYPE_CHECKING: import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data metamodel_version = "None" diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/namespace.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/namespace.py index 96b5902..b0570ab 100644 --- a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/namespace.py +++ b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/v0_5_0/namespace.py @@ -15,34 +15,8 @@ from typing import ( from pydantic import BaseModel as BaseModel, Field from pydantic import ConfigDict, BeforeValidator -from nptyping import ( - Shape, - Float, - Float32, - Double, - Float64, - LongLong, - Int64, - Int, - Int32, - Int16, - Short, - Int8, - UInt, - UInt32, - UInt16, - UInt8, - UInt64, - Number, - String, - Unicode, - Unicode, - Unicode, - String, - Bool, - Datetime64, -) -from nwb_linkml.types import NDArray +from numpydantic import Shape, NDArray +from numpydantic.dtype import * import sys if sys.version_info >= (3, 8):