diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/core/__init__.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/__init__.py new file mode 100644 index 0000000..e69de29 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 87bd7a4..74b8d44 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 351f028..ee2356f 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 @@ -7,7 +7,6 @@ import sys import numpy as np from ...core.v2_2_0.core_nwb_image import GrayscaleImage from ...core.v2_2_0.core_nwb_base import NWBData, NWBDataInterface -from numpydantic import NDArray, Shape from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar from pydantic import ( BaseModel, @@ -18,6 +17,7 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.0" 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 4895ac4..c098784 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 e14720f..5fe79a1 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 @@ -7,7 +7,6 @@ import sys import numpy as np from ...core.v2_2_1.core_nwb_image import GrayscaleImage from ...core.v2_2_1.core_nwb_base import NWBData, NWBDataInterface -from numpydantic import NDArray, Shape from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar from pydantic import ( BaseModel, @@ -18,6 +17,7 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.1" 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 dce2054..08e515f 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 34d95d8..ec6ad30 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,9 +15,9 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorIndex, VectorData from ...core.v2_2_2.core_nwb_base import TimeSeries +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.2" 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 5c649b8..7694e0c 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 @@ -17,13 +17,13 @@ from pydantic import ( BeforeValidator, ) from ...core.v2_2_2.core_nwb_ecephys import ElectrodeGroup -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, VectorData, VectorIndex, DynamicTableRegion, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.2" 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 4490dee..b34ac7d 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 ded8672..1cb1305 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,9 +15,9 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorIndex, VectorData from ...core.v2_2_4.core_nwb_base import TimeSeries +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.4" 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 e45a26f..4b5b92a 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 @@ -17,13 +17,13 @@ from pydantic import ( BeforeValidator, ) from ...core.v2_2_4.core_nwb_ecephys import ElectrodeGroup -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, VectorData, VectorIndex, DynamicTableRegion, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.4" 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 f1fd32a..76d1dae 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,13 +15,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorIndex, VectorData, ) +from numpydantic import NDArray, Shape from ...core.v2_2_4.core_nwb_image import ImageSeries, ImageSeriesExternalFile from ...core.v2_2_4.core_nwb_base import ( TimeSeriesStartingTime, 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 8bb75d3..5f4bd2c 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 b7d6928..e1b3da9 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,9 +15,9 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorIndex, VectorData from ...core.v2_2_5.core_nwb_base import TimeSeries +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.5" 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 5dd004e..959d2df 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 @@ -17,13 +17,13 @@ from pydantic import ( BeforeValidator, ) from ...core.v2_2_5.core_nwb_ecephys import ElectrodeGroup -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, VectorData, VectorIndex, DynamicTableRegion, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.2.5" 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 b9117ef..4a695c9 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,13 +15,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorIndex, VectorData, ) +from numpydantic import NDArray, Shape from ...core.v2_2_5.core_nwb_image import ImageSeries, ImageSeriesExternalFile from ...core.v2_2_5.core_nwb_base import ( TimeSeriesStartingTime, 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 2e00b45..9cbedd2 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 3e322e9..6457839 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,9 +15,9 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData from ...core.v2_3_0.core_nwb_base import TimeSeries +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.3.0" 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 e2165a6..45a4d8b 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 @@ -17,13 +17,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorData, VectorIndex, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.3.0" 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 0f02344..a08cfb2 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,13 +15,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorIndex, VectorData, ) +from numpydantic import NDArray, Shape from ...core.v2_3_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile from ...core.v2_3_0.core_nwb_base import ( TimeSeriesStartingTime, 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 078ffc1..1a25b07 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 68eac88..99ba895 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,9 +15,9 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData from ...core.v2_4_0.core_nwb_base import TimeSeries +from numpydantic import NDArray, Shape 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 7ae2703..b84fea1 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 @@ -22,7 +22,6 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTable, VectorIndex, @@ -30,6 +29,7 @@ from ...hdmf_common.v1_5_0.hdmf_common_table import ( AlignedDynamicTable, DynamicTableRegion, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.4.0" 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 83f1e14..941eed4 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 @@ -17,13 +17,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorData, VectorIndex, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.4.0" 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 7c14767..62d96b8 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,13 +15,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorIndex, VectorData, ) +from numpydantic import NDArray, Shape from ...core.v2_4_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile from ...core.v2_4_0.core_nwb_base import ( TimeSeriesStartingTime, 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 ad473ec..f5f24cd 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 0ff7aa1..6dfee22 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 @@ -22,7 +22,6 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTable, VectorIndex, @@ -30,6 +29,7 @@ from ...hdmf_common.v1_5_0.hdmf_common_table import ( AlignedDynamicTable, DynamicTableRegion, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.5.0" 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 bbf2692..3d0cd3b 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 @@ -17,13 +17,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorData, VectorIndex, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.5.0" 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 1206850..518c841 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,13 +15,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorIndex, VectorData, ) +from numpydantic import NDArray, Shape from ...core.v2_5_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile from ...core.v2_5_0.core_nwb_base import ( TimeSeriesStartingTime, 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 5143425..6dd5f69 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 fe0ff7c..c1feffe 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 @@ -22,7 +22,6 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTable, VectorIndex, @@ -30,6 +29,7 @@ from ...hdmf_common.v1_5_0.hdmf_common_table import ( AlignedDynamicTable, DynamicTableRegion, ) +from numpydantic import NDArray, Shape 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_misc.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py index eca3094..a3861c2 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 @@ -17,13 +17,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorData, VectorIndex, ) +from numpydantic import NDArray, Shape 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_ophys.py b/nwb_linkml/src/nwb_linkml/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py index b7b8841..de696cd 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,13 +15,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_5_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorIndex, VectorData, ) +from numpydantic import NDArray, Shape from ...core.v2_6_0_alpha.core_nwb_image import ImageSeries, ImageSeriesExternalFile from ...core.v2_6_0_alpha.core_nwb_base import ( TimeSeriesStartingTime, 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 b4049fc..e11eaad 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 @@ -61,6 +61,8 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" + ModelType = TypeVar("ModelType", bound=Type[BaseModel]) @@ -76,8 +78,6 @@ def _get_name(item: ModelType | dict, info: ValidationInfo) -> Union[ModelType, Named = Annotated[ModelType, BeforeValidator(_get_name)] - -NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 a7b2f34..b651db2 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 @@ -22,7 +22,6 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_8_0.hdmf_common_table import ( DynamicTable, VectorIndex, @@ -30,6 +29,7 @@ from ...hdmf_common.v1_8_0.hdmf_common_table import ( AlignedDynamicTable, DynamicTableRegion, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.7.0" 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 474d3d7..0cfd65b 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 @@ -17,13 +17,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_8_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorData, VectorIndex, ) +from numpydantic import NDArray, Shape metamodel_version = "None" version = "2.7.0" 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 c687196..bfd5c4e 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,13 +15,13 @@ from pydantic import ( ValidationInfo, BeforeValidator, ) -from numpydantic import NDArray, Shape from ...hdmf_common.v1_8_0.hdmf_common_table import ( DynamicTableRegion, DynamicTable, VectorIndex, VectorData, ) +from numpydantic import NDArray, Shape from ...core.v2_7_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile from ...core.v2_7_0.core_nwb_base import ( TimeSeriesStartingTime, diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/__init__.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_common/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/__init__.py b/nwb_linkml/src/nwb_linkml/models/pydantic/hdmf_experimental/__init__.py new file mode 100644 index 0000000..e69de29 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 81104c3..065f135 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 @@ -8,6 +8,7 @@ from typing import Any, ClassVar, List, Literal, Dict, Optional, Union from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator import numpy as np from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData +from numpydantic import NDArray, Shape metamodel_version = "None" version = "0.1.0" @@ -45,6 +46,7 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": { 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 ac60310..13d77f3 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 @@ -8,6 +8,7 @@ from typing import Any, ClassVar, List, Literal, Dict, Optional, Union from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator import numpy as np from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData +from numpydantic import NDArray, Shape metamodel_version = "None" version = "0.5.0" @@ -45,6 +46,7 @@ class LinkMLMeta(RootModel): return key in self.root +NUMPYDANTIC_VERSION = "1.2.1" linkml_meta = LinkMLMeta( { "annotations": {