From 81b475a2d4e2da8ed34d26f56d0edc233851d247 Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Tue, 27 Aug 2024 20:50:23 -0700 Subject: [PATCH] regenerate models with sorted imports --- .../nwb_models/models/pydantic/__init__.py | 1 + .../pydantic/core/v2_2_0/core_nwb_base.py | 16 +- .../pydantic/core/v2_2_0/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_2_0/core_nwb_device.py | 14 +- .../pydantic/core/v2_2_0/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_2_0/core_nwb_epoch.py | 20 +- .../pydantic/core/v2_2_0/core_nwb_file.py | 28 ++- .../pydantic/core/v2_2_0/core_nwb_icephys.py | 34 +-- .../pydantic/core/v2_2_0/core_nwb_image.py | 14 +- .../pydantic/core/v2_2_0/core_nwb_misc.py | 24 +- .../pydantic/core/v2_2_0/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_2_0/core_nwb_ophys.py | 30 +-- .../core/v2_2_0/core_nwb_retinotopy.py | 22 +- .../models/pydantic/core/v2_2_0/namespace.py | 170 +++++++------- .../pydantic/core/v2_2_1/core_nwb_base.py | 16 +- .../pydantic/core/v2_2_1/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_2_1/core_nwb_device.py | 14 +- .../pydantic/core/v2_2_1/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_2_1/core_nwb_epoch.py | 20 +- .../pydantic/core/v2_2_1/core_nwb_file.py | 28 ++- .../pydantic/core/v2_2_1/core_nwb_icephys.py | 34 +-- .../pydantic/core/v2_2_1/core_nwb_image.py | 14 +- .../pydantic/core/v2_2_1/core_nwb_misc.py | 24 +- .../pydantic/core/v2_2_1/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_2_1/core_nwb_ophys.py | 30 +-- .../core/v2_2_1/core_nwb_retinotopy.py | 22 +- .../models/pydantic/core/v2_2_1/namespace.py | 170 +++++++------- .../pydantic/core/v2_2_2/core_nwb_base.py | 16 +- .../pydantic/core/v2_2_2/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_2_2/core_nwb_device.py | 14 +- .../pydantic/core/v2_2_2/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_2_2/core_nwb_epoch.py | 20 +- .../pydantic/core/v2_2_2/core_nwb_file.py | 28 ++- .../pydantic/core/v2_2_2/core_nwb_icephys.py | 34 +-- .../pydantic/core/v2_2_2/core_nwb_image.py | 14 +- .../pydantic/core/v2_2_2/core_nwb_misc.py | 24 +- .../pydantic/core/v2_2_2/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_2_2/core_nwb_ophys.py | 30 +-- .../core/v2_2_2/core_nwb_retinotopy.py | 16 +- .../models/pydantic/core/v2_2_2/namespace.py | 164 +++++++------- .../pydantic/core/v2_2_4/core_nwb_base.py | 16 +- .../pydantic/core/v2_2_4/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_2_4/core_nwb_device.py | 14 +- .../pydantic/core/v2_2_4/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_2_4/core_nwb_epoch.py | 20 +- .../pydantic/core/v2_2_4/core_nwb_file.py | 32 +-- .../pydantic/core/v2_2_4/core_nwb_icephys.py | 34 +-- .../pydantic/core/v2_2_4/core_nwb_image.py | 14 +- .../pydantic/core/v2_2_4/core_nwb_misc.py | 24 +- .../pydantic/core/v2_2_4/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_2_4/core_nwb_ophys.py | 38 ++-- .../core/v2_2_4/core_nwb_retinotopy.py | 16 +- .../models/pydantic/core/v2_2_4/namespace.py | 178 +++++++-------- .../pydantic/core/v2_2_5/core_nwb_base.py | 16 +- .../pydantic/core/v2_2_5/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_2_5/core_nwb_device.py | 14 +- .../pydantic/core/v2_2_5/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_2_5/core_nwb_epoch.py | 20 +- .../pydantic/core/v2_2_5/core_nwb_file.py | 32 +-- .../pydantic/core/v2_2_5/core_nwb_icephys.py | 34 +-- .../pydantic/core/v2_2_5/core_nwb_image.py | 14 +- .../pydantic/core/v2_2_5/core_nwb_misc.py | 24 +- .../pydantic/core/v2_2_5/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_2_5/core_nwb_ophys.py | 38 ++-- .../core/v2_2_5/core_nwb_retinotopy.py | 16 +- .../models/pydantic/core/v2_2_5/namespace.py | 178 +++++++-------- .../pydantic/core/v2_3_0/core_nwb_base.py | 16 +- .../pydantic/core/v2_3_0/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_3_0/core_nwb_device.py | 14 +- .../pydantic/core/v2_3_0/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_3_0/core_nwb_epoch.py | 20 +- .../pydantic/core/v2_3_0/core_nwb_file.py | 32 +-- .../pydantic/core/v2_3_0/core_nwb_icephys.py | 34 +-- .../pydantic/core/v2_3_0/core_nwb_image.py | 16 +- .../pydantic/core/v2_3_0/core_nwb_misc.py | 26 ++- .../pydantic/core/v2_3_0/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_3_0/core_nwb_ophys.py | 38 ++-- .../core/v2_3_0/core_nwb_retinotopy.py | 16 +- .../models/pydantic/core/v2_3_0/namespace.py | 178 +++++++-------- .../pydantic/core/v2_4_0/core_nwb_base.py | 26 ++- .../pydantic/core/v2_4_0/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_4_0/core_nwb_device.py | 14 +- .../pydantic/core/v2_4_0/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_4_0/core_nwb_epoch.py | 20 +- .../pydantic/core/v2_4_0/core_nwb_file.py | 48 ++-- .../pydantic/core/v2_4_0/core_nwb_icephys.py | 40 ++-- .../pydantic/core/v2_4_0/core_nwb_image.py | 16 +- .../pydantic/core/v2_4_0/core_nwb_misc.py | 26 ++- .../pydantic/core/v2_4_0/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_4_0/core_nwb_ophys.py | 38 ++-- .../core/v2_4_0/core_nwb_retinotopy.py | 16 +- .../models/pydantic/core/v2_4_0/namespace.py | 204 ++++++++--------- .../pydantic/core/v2_5_0/core_nwb_base.py | 36 +-- .../pydantic/core/v2_5_0/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_5_0/core_nwb_device.py | 14 +- .../pydantic/core/v2_5_0/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_5_0/core_nwb_epoch.py | 22 +- .../pydantic/core/v2_5_0/core_nwb_file.py | 50 +++-- .../pydantic/core/v2_5_0/core_nwb_icephys.py | 40 ++-- .../pydantic/core/v2_5_0/core_nwb_image.py | 18 +- .../pydantic/core/v2_5_0/core_nwb_misc.py | 26 ++- .../pydantic/core/v2_5_0/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_5_0/core_nwb_ophys.py | 38 ++-- .../core/v2_5_0/core_nwb_retinotopy.py | 16 +- .../models/pydantic/core/v2_5_0/namespace.py | 204 ++++++++--------- .../core/v2_6_0_alpha/core_nwb_base.py | 36 +-- .../core/v2_6_0_alpha/core_nwb_behavior.py | 18 +- .../core/v2_6_0_alpha/core_nwb_device.py | 14 +- .../core/v2_6_0_alpha/core_nwb_ecephys.py | 26 ++- .../core/v2_6_0_alpha/core_nwb_epoch.py | 22 +- .../core/v2_6_0_alpha/core_nwb_file.py | 50 +++-- .../core/v2_6_0_alpha/core_nwb_icephys.py | 40 ++-- .../core/v2_6_0_alpha/core_nwb_image.py | 18 +- .../core/v2_6_0_alpha/core_nwb_misc.py | 26 ++- .../core/v2_6_0_alpha/core_nwb_ogen.py | 16 +- .../core/v2_6_0_alpha/core_nwb_ophys.py | 38 ++-- .../core/v2_6_0_alpha/core_nwb_retinotopy.py | 16 +- .../pydantic/core/v2_6_0_alpha/namespace.py | 208 ++++++++--------- .../pydantic/core/v2_7_0/core_nwb_base.py | 36 +-- .../pydantic/core/v2_7_0/core_nwb_behavior.py | 18 +- .../pydantic/core/v2_7_0/core_nwb_device.py | 14 +- .../pydantic/core/v2_7_0/core_nwb_ecephys.py | 26 ++- .../pydantic/core/v2_7_0/core_nwb_epoch.py | 22 +- .../pydantic/core/v2_7_0/core_nwb_file.py | 50 +++-- .../pydantic/core/v2_7_0/core_nwb_icephys.py | 40 ++-- .../pydantic/core/v2_7_0/core_nwb_image.py | 18 +- .../pydantic/core/v2_7_0/core_nwb_misc.py | 26 ++- .../pydantic/core/v2_7_0/core_nwb_ogen.py | 16 +- .../pydantic/core/v2_7_0/core_nwb_ophys.py | 38 ++-- .../core/v2_7_0/core_nwb_retinotopy.py | 16 +- .../models/pydantic/core/v2_7_0/namespace.py | 210 +++++++++--------- .../hdmf_common/v1_1_0/hdmf_common_sparse.py | 13 +- .../hdmf_common/v1_1_0/hdmf_common_table.py | 27 ++- .../pydantic/hdmf_common/v1_1_0/namespace.py | 34 +-- .../hdmf_common/v1_1_2/hdmf_common_sparse.py | 13 +- .../hdmf_common/v1_1_2/hdmf_common_table.py | 27 ++- .../pydantic/hdmf_common/v1_1_2/namespace.py | 34 +-- .../hdmf_common/v1_1_3/hdmf_common_sparse.py | 13 +- .../hdmf_common/v1_1_3/hdmf_common_table.py | 27 ++- .../pydantic/hdmf_common/v1_1_3/namespace.py | 34 +-- .../hdmf_common/v1_2_0/hdmf_common_base.py | 13 +- .../hdmf_common/v1_2_0/hdmf_common_sparse.py | 13 +- .../hdmf_common/v1_2_0/hdmf_common_table.py | 30 +-- .../pydantic/hdmf_common/v1_2_0/namespace.py | 34 +-- .../hdmf_common/v1_2_1/hdmf_common_base.py | 13 +- .../hdmf_common/v1_2_1/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_2_1/hdmf_common_table.py | 30 +-- .../pydantic/hdmf_common/v1_2_1/namespace.py | 34 +-- .../hdmf_common/v1_3_0/hdmf_common_base.py | 13 +- .../v1_3_0/hdmf_common_resources.py | 16 +- .../hdmf_common/v1_3_0/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_3_0/hdmf_common_table.py | 30 +-- .../pydantic/hdmf_common/v1_3_0/namespace.py | 38 ++-- .../hdmf_common/v1_4_0/hdmf_common_base.py | 13 +- .../hdmf_common/v1_4_0/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_4_0/hdmf_common_table.py | 30 +-- .../pydantic/hdmf_common/v1_4_0/namespace.py | 24 +- .../hdmf_common/v1_5_0/hdmf_common_base.py | 13 +- .../hdmf_common/v1_5_0/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_5_0/hdmf_common_table.py | 32 +-- .../pydantic/hdmf_common/v1_5_0/namespace.py | 26 ++- .../hdmf_common/v1_5_1/hdmf_common_base.py | 13 +- .../hdmf_common/v1_5_1/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_5_1/hdmf_common_table.py | 32 +-- .../pydantic/hdmf_common/v1_5_1/namespace.py | 26 ++- .../hdmf_common/v1_6_0/hdmf_common_base.py | 13 +- .../hdmf_common/v1_6_0/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_6_0/hdmf_common_table.py | 32 +-- .../pydantic/hdmf_common/v1_6_0/namespace.py | 26 ++- .../hdmf_common/v1_7_0/hdmf_common_base.py | 13 +- .../hdmf_common/v1_7_0/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_7_0/hdmf_common_table.py | 32 +-- .../pydantic/hdmf_common/v1_7_0/namespace.py | 26 ++- .../hdmf_common/v1_8_0/hdmf_common_base.py | 13 +- .../hdmf_common/v1_8_0/hdmf_common_sparse.py | 16 +- .../hdmf_common/v1_8_0/hdmf_common_table.py | 32 +-- .../pydantic/hdmf_common/v1_8_0/namespace.py | 26 ++- .../v0_1_0/hdmf_experimental_experimental.py | 16 +- .../v0_1_0/hdmf_experimental_resources.py | 16 +- .../hdmf_experimental/v0_1_0/namespace.py | 32 +-- .../v0_2_0/hdmf_experimental_experimental.py | 16 +- .../v0_2_0/hdmf_experimental_resources.py | 16 +- .../hdmf_experimental/v0_2_0/namespace.py | 34 +-- .../v0_3_0/hdmf_experimental_experimental.py | 16 +- .../v0_3_0/hdmf_experimental_resources.py | 16 +- .../hdmf_experimental/v0_3_0/namespace.py | 34 +-- .../v0_4_0/hdmf_experimental_experimental.py | 16 +- .../v0_4_0/hdmf_experimental_resources.py | 16 +- .../hdmf_experimental/v0_4_0/namespace.py | 36 +-- .../v0_5_0/hdmf_experimental_experimental.py | 16 +- .../v0_5_0/hdmf_experimental_resources.py | 16 +- .../hdmf_experimental/v0_5_0/namespace.py | 36 +-- 192 files changed, 3417 insertions(+), 2668 deletions(-) diff --git a/nwb_models/src/nwb_models/models/pydantic/__init__.py b/nwb_models/src/nwb_models/models/pydantic/__init__.py index e69de29..fa3cf1e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/__init__.py +++ b/nwb_models/src/nwb_models/models/pydantic/__init__.py @@ -0,0 +1 @@ +from .pydantic.core.v2_7_0.namespace import * diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_base.py index 6cb19f8..db6e75c 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_base.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_0.hdmf_common_table import Data, Container, DynamicTable +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_0.hdmf_common_table import Container, Data, DynamicTable + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_behavior.py index 095dec1..31bf322 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_2_0.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_0.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_2_0.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_device.py index 0456ec3..bf15387 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_0.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ecephys.py index c946ad9..7a99a15 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_2_0.core_nwb_device import Device + from ...core.v2_2_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_2_0.core_nwb_device import Device +from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_epoch.py index ada000f..7475c41 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData + from ...core.v2_2_0.core_nwb_base import TimeSeries -from numpydantic import NDArray, Shape +from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_file.py index 548cc3b..e03f10b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_file.py @@ -1,27 +1,31 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_0.core_nwb_misc import Units -from ...core.v2_2_0.core_nwb_device import Device -from ...core.v2_2_0.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_2_0.core_nwb_ophys import ImagingPlane +from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_0.core_nwb_base import ( NWBContainer, NWBDataInterface, ProcessingModule, TimeSeries, ) +from ...core.v2_2_0.core_nwb_device import Device from ...core.v2_2_0.core_nwb_ecephys import ElectrodeGroup -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex -from ...core.v2_2_0.core_nwb_icephys import IntracellularElectrode, SweepTable from ...core.v2_2_0.core_nwb_epoch import TimeIntervals +from ...core.v2_2_0.core_nwb_icephys import IntracellularElectrode, SweepTable +from ...core.v2_2_0.core_nwb_misc import Units +from ...core.v2_2_0.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_2_0.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_icephys.py index 86cbcb4..be3a0ab 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_icephys.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_0.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, -) -from ...core.v2_2_0.core_nwb_device import Device -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData + +from ...core.v2_2_0.core_nwb_base import ( + NWBContainer, + TimeSeries, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_2_0.core_nwb_device import Device +from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_image.py index 28ff7b4..73b924f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_image.py @@ -1,15 +1,19 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_0.core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_misc.py index 0e16f74..f83925f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_misc.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_2_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync from ...core.v2_2_0.core_nwb_ecephys import ElectrodeGroup -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_0.hdmf_common_table import ( DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, - DynamicTableRegion, ) + metamodel_version = "None" version = "2.2.0" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ogen.py index 2bbed5f..853250a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_0.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_2_0.core_nwb_device import Device + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ophys.py index 5321376..6ce44c7 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_ophys.py @@ -1,31 +1,35 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTableRegion, DynamicTable -from ...core.v2_2_0.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_2_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_2_0.core_nwb_device import Device +from ...core.v2_2_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_1_0.hdmf_common_table import DynamicTable, DynamicTableRegion + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py index 3ee80c2..ab2f91e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/core_nwb_retinotopy.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + 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 typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from numpydantic import NDArray, Shape + +from ...core.v2_2_0.core_nwb_base import NWBData, NWBDataInterface +from ...core.v2_2_0.core_nwb_image import GrayscaleImage + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/namespace.py index 2a75efc..710c80c 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_0/namespace.py @@ -1,61 +1,78 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_0.core_nwb_base import ( - NWBData, Image, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_2_0.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_2_0.core_nwb_device import Device -from ...core.v2_2_0.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries -from ...core.v2_2_0.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_2_0.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_2_0.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries +from ...core.v2_2_0.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + Subject, ) from ...core.v2_2_0.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + IZeroClampSeries, + IntracellularElectrode, + PatchClampSeries, + PatchClampSeriesData, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -63,79 +80,66 @@ from ...core.v2_2_0.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, ) -from ...core.v2_2_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_2_0.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, +from ...core.v2_2_0.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_2_0.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_2_0.core_nwb_file import ( - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - Subject, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, -) -from ...core.v2_2_0.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_2_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_2_0.core_nwb_ophys import ( + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_2_0.core_nwb_retinotopy import ( - RetinotopyMap, AxisMap, - RetinotopyImage, ImagingRetinotopy, ImagingRetinotopyFocalDepthImage, -) -from ...hdmf_common.v1_1_0.hdmf_common_table import ( - Data, - Index, - VectorData, - VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, + RetinotopyImage, + RetinotopyMap, ) from ...hdmf_common.v1_1_0.hdmf_common_sparse import ( CSRMatrix, + CSRMatrixData, CSRMatrixIndices, CSRMatrixIndptr, - CSRMatrixData, ) +from ...hdmf_common.v1_1_0.hdmf_common_table import ( + Container, + Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, + Index, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_base.py index 45c2131..635f77a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_base.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_2.hdmf_common_table import Data, Container, DynamicTable +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_2.hdmf_common_table import Container, Data, DynamicTable + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_behavior.py index 04c20b4..c0a675b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_2_1.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_1.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_2_1.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_device.py index bc309fc..1da62bb 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_1.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ecephys.py index 0a13c81..25525e8 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_2_1.core_nwb_device import Device + from ...core.v2_2_1.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_2_1.core_nwb_device import Device +from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_epoch.py index 92fd747..247b667 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, VectorIndex, VectorData + from ...core.v2_2_1.core_nwb_base import TimeSeries -from numpydantic import NDArray, Shape +from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_file.py index 06fdd52..49ebbf0 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_file.py @@ -1,27 +1,31 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_1.core_nwb_misc import Units -from ...core.v2_2_1.core_nwb_device import Device -from ...core.v2_2_1.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_2_1.core_nwb_ophys import ImagingPlane +from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_1.core_nwb_base import ( NWBContainer, NWBDataInterface, ProcessingModule, TimeSeries, ) +from ...core.v2_2_1.core_nwb_device import Device from ...core.v2_2_1.core_nwb_ecephys import ElectrodeGroup -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, VectorData, VectorIndex -from ...core.v2_2_1.core_nwb_icephys import IntracellularElectrode, SweepTable from ...core.v2_2_1.core_nwb_epoch import TimeIntervals +from ...core.v2_2_1.core_nwb_icephys import IntracellularElectrode, SweepTable +from ...core.v2_2_1.core_nwb_misc import Units +from ...core.v2_2_1.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_2_1.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_icephys.py index d004723..34a9d42 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_icephys.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_1.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, -) -from ...core.v2_2_1.core_nwb_device import Device -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, VectorIndex, VectorData + +from ...core.v2_2_1.core_nwb_base import ( + NWBContainer, + TimeSeries, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_2_1.core_nwb_device import Device +from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_image.py index 3322ff3..0824778 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_image.py @@ -1,15 +1,19 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_1.core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_misc.py index cf92403..ecd0946 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_misc.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_1.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_2_1.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync from ...core.v2_2_1.core_nwb_ecephys import ElectrodeGroup -from numpydantic import NDArray, Shape from ...hdmf_common.v1_1_2.hdmf_common_table import ( DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, - DynamicTableRegion, ) + metamodel_version = "None" version = "2.2.1" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ogen.py index 07d8693..1577358 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_1.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_2_1.core_nwb_device import Device + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ophys.py index 587b5ee..ca843fc 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_ophys.py @@ -1,31 +1,35 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_1.core_nwb_image import ImageSeries, ImageSeriesExternalFile -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTableRegion, DynamicTable -from ...core.v2_2_1.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_2_1.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_2_1.core_nwb_device import Device +from ...core.v2_2_1.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_1_2.hdmf_common_table import DynamicTable, DynamicTableRegion + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py index eef6b41..69e47a3 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/core_nwb_retinotopy.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + 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 typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from numpydantic import NDArray, Shape + +from ...core.v2_2_1.core_nwb_base import NWBData, NWBDataInterface +from ...core.v2_2_1.core_nwb_image import GrayscaleImage + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/namespace.py index f2df392..5dd8a41 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_1/namespace.py @@ -1,61 +1,78 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_1.core_nwb_base import ( - NWBData, Image, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_2_1.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_2_1.core_nwb_device import Device -from ...core.v2_2_1.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries -from ...core.v2_2_1.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_2_1.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_2_1.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries +from ...core.v2_2_1.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + Subject, ) from ...core.v2_2_1.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + IZeroClampSeries, + IntracellularElectrode, + PatchClampSeries, + PatchClampSeriesData, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -63,79 +80,66 @@ from ...core.v2_2_1.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, ) -from ...core.v2_2_1.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_2_1.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, +from ...core.v2_2_1.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_2_1.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_2_1.core_nwb_file import ( - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - Subject, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, -) -from ...core.v2_2_1.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_2_1.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_2_1.core_nwb_ophys import ( + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_2_1.core_nwb_retinotopy import ( - RetinotopyMap, AxisMap, - RetinotopyImage, ImagingRetinotopy, ImagingRetinotopyFocalDepthImage, -) -from ...hdmf_common.v1_1_2.hdmf_common_table import ( - Data, - Index, - VectorData, - VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, + RetinotopyImage, + RetinotopyMap, ) from ...hdmf_common.v1_1_2.hdmf_common_sparse import ( CSRMatrix, + CSRMatrixData, CSRMatrixIndices, CSRMatrixIndptr, - CSRMatrixData, ) +from ...hdmf_common.v1_1_2.hdmf_common_table import ( + Container, + Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, + Index, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_base.py index 4b73640..dd580be 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_base.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_behavior.py index aa5631c..bb900e7 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_2_2.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_2.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_2_2.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_device.py index dd0ab6e..dbb96bf 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_2.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ecephys.py index 402ccda..5749b00 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_2_2.core_nwb_device import Device + from ...core.v2_2_2.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_2_2.core_nwb_device import Device +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_epoch.py index 215cca6..6e766ad 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_file.py index 5d28191..3824ab2 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_file.py @@ -1,27 +1,31 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_2.core_nwb_misc import Units -from ...core.v2_2_2.core_nwb_device import Device -from ...core.v2_2_2.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_2_2.core_nwb_ophys import ImagingPlane +from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_2.core_nwb_base import ( NWBContainer, NWBDataInterface, ProcessingModule, TimeSeries, ) +from ...core.v2_2_2.core_nwb_device import Device 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 -from ...core.v2_2_2.core_nwb_icephys import IntracellularElectrode, SweepTable from ...core.v2_2_2.core_nwb_epoch import TimeIntervals +from ...core.v2_2_2.core_nwb_icephys import IntracellularElectrode, SweepTable +from ...core.v2_2_2.core_nwb_misc import Units +from ...core.v2_2_2.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_2_2.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_icephys.py index cb14508..9d4a696 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_icephys.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_2.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, -) -from ...core.v2_2_2.core_nwb_device import Device -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 ( + NWBContainer, + TimeSeries, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_2_2.core_nwb_device import Device +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_image.py index 88c0781..fec53fa 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_image.py @@ -1,15 +1,19 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_2.core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_misc.py index 6e8daf9..5c32d21 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_2.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_2_2.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync from ...core.v2_2_2.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, - DynamicTableRegion, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.2.2" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ogen.py index e7823a4..8c1e21d 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_2.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_2_2.core_nwb_device import Device + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ophys.py index 88bb254..b7ed446 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_ophys.py @@ -1,31 +1,35 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_2.core_nwb_image import ImageSeries, ImageSeriesExternalFile -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion, DynamicTable -from ...core.v2_2_2.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_2_2.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_2_2.core_nwb_device import Device +from ...core.v2_2_2.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, DynamicTableRegion + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py index e623a0b..f92004d 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_2.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_2_2.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/namespace.py index 6a5046e..536af15 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_2/namespace.py @@ -1,61 +1,78 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_2.core_nwb_base import ( - NWBData, Image, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_2_2.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_2_2.core_nwb_device import Device -from ...core.v2_2_2.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries -from ...core.v2_2_2.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_2_2.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_2_2.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries +from ...core.v2_2_2.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + Subject, ) from ...core.v2_2_2.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + IZeroClampSeries, + IntracellularElectrode, + PatchClampSeries, + PatchClampSeriesData, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -63,55 +80,41 @@ from ...core.v2_2_2.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, ) -from ...core.v2_2_2.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_2_2.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, +from ...core.v2_2_2.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_2_2.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_2_2.core_nwb_file import ( - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - Subject, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, -) -from ...core.v2_2_2.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_2_2.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_2_2.core_nwb_ophys import ( + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_2_2.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -123,23 +126,24 @@ from ...core.v2_2_2.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) +from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( + CSRMatrix, + CSRMatrixData, + CSRMatrixIndices, + CSRMatrixIndptr, +) from ...hdmf_common.v1_1_3.hdmf_common_table import ( + Container, Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, Index, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, -) -from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( - CSRMatrix, - CSRMatrixIndices, - CSRMatrixIndptr, - CSRMatrixData, ) + metamodel_version = "None" version = "2.2.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_base.py index 1d0f436..82fa6ff 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_base.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_behavior.py index e095079..e14c8d5 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_2_4.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_4.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_2_4.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_device.py index ed9623b..09cf60b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_4.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ecephys.py index e5b05d6..25a0a42 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_2_4.core_nwb_device import Device + from ...core.v2_2_4.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_2_4.core_nwb_device import Device +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_epoch.py index e216685..3cd5078 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_file.py index e70c2dc..0542071 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_file.py @@ -1,28 +1,32 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_4.core_nwb_misc import Units -from ...core.v2_2_4.core_nwb_device import Device -from ...core.v2_2_4.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_2_4.core_nwb_ophys import ImagingPlane -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 -from ...core.v2_2_4.core_nwb_icephys import IntracellularElectrode, SweepTable -from ...core.v2_2_4.core_nwb_epoch import TimeIntervals +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_4.core_nwb_base import ( - NWBData, NWBContainer, + NWBData, NWBDataInterface, ProcessingModule, TimeSeries, ) +from ...core.v2_2_4.core_nwb_device import Device +from ...core.v2_2_4.core_nwb_ecephys import ElectrodeGroup +from ...core.v2_2_4.core_nwb_epoch import TimeIntervals +from ...core.v2_2_4.core_nwb_icephys import IntracellularElectrode, SweepTable +from ...core.v2_2_4.core_nwb_misc import Units +from ...core.v2_2_4.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_2_4.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_icephys.py index 98b68dc..8f20762 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_icephys.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_4.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, -) -from ...core.v2_2_4.core_nwb_device import Device -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 ( + NWBContainer, + TimeSeries, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_2_4.core_nwb_device import Device +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_image.py index 40370ff..850e89f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_image.py @@ -1,15 +1,19 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_4.core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_misc.py index 1a7a26a..22fc753 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_4.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_2_4.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync from ...core.v2_2_4.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, - DynamicTableRegion, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.2.4" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ogen.py index 33f8506..50d25ad 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_4.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_2_4.core_nwb_device import Device + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ophys.py index 54b8b6a..1a0bf16 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_ophys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_1_3.hdmf_common_table import ( - DynamicTableRegion, - DynamicTable, - VectorIndex, - VectorData, -) -from ...core.v2_2_4.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_2_4.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_2_4.core_nwb_device import Device from ...core.v2_2_4.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py index af820b1..111a502 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_4.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_2_4.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/namespace.py index 7b03647..10795d3 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_4/namespace.py @@ -1,61 +1,80 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_4.core_nwb_base import ( - NWBData, Image, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_2_4.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_2_4.core_nwb_device import Device -from ...core.v2_2_4.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries -from ...core.v2_2_4.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_2_4.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_2_4.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries +from ...core.v2_2_4.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + LabMetaData, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + ScratchData, + Subject, ) from ...core.v2_2_4.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + IZeroClampSeries, + IntracellularElectrode, + PatchClampSeries, + PatchClampSeriesData, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -63,62 +82,46 @@ from ...core.v2_2_4.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, ) -from ...core.v2_2_4.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_2_4.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - PlaneSegmentation, - PlaneSegmentationImageMask, - PlaneSegmentationPixelMask, - PlaneSegmentationVoxelMask, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, - CorrectedImageStack, +from ...core.v2_2_4.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_2_4.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_2_4.core_nwb_file import ( - ScratchData, - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, - LabMetaData, - Subject, -) -from ...core.v2_2_4.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_2_4.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_2_4.core_nwb_ophys import ( + CorrectedImageStack, + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + PlaneSegmentation, + PlaneSegmentationImageMask, + PlaneSegmentationPixelMask, + PlaneSegmentationVoxelMask, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_2_4.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -130,23 +133,24 @@ from ...core.v2_2_4.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) +from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( + CSRMatrix, + CSRMatrixData, + CSRMatrixIndices, + CSRMatrixIndptr, +) from ...hdmf_common.v1_1_3.hdmf_common_table import ( + Container, Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, Index, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, -) -from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( - CSRMatrix, - CSRMatrixIndices, - CSRMatrixIndptr, - CSRMatrixData, ) + metamodel_version = "None" version = "2.2.4" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_base.py index 8c121de..5012a43 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_base.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...hdmf_common.v1_1_3.hdmf_common_table import Data, Container, DynamicTable +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_3.hdmf_common_table import Container, Data, DynamicTable + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_behavior.py index 6b298ff..e7c936a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_2_5.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_5.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_2_5.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_device.py index 2b32c15..5d308f9 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_5.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ecephys.py index 5869306..4e993f0 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_2_5.core_nwb_device import Device + from ...core.v2_2_5.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_2_5.core_nwb_device import Device +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_epoch.py index 3bee6b5..bd7e37e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_file.py index 5f22cff..1998de2 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_file.py @@ -1,28 +1,32 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_5.core_nwb_misc import Units -from ...core.v2_2_5.core_nwb_device import Device -from ...core.v2_2_5.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_2_5.core_nwb_ophys import ImagingPlane -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 -from ...core.v2_2_5.core_nwb_icephys import IntracellularElectrode, SweepTable -from ...core.v2_2_5.core_nwb_epoch import TimeIntervals +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_5.core_nwb_base import ( - NWBData, NWBContainer, + NWBData, NWBDataInterface, ProcessingModule, TimeSeries, ) +from ...core.v2_2_5.core_nwb_device import Device +from ...core.v2_2_5.core_nwb_ecephys import ElectrodeGroup +from ...core.v2_2_5.core_nwb_epoch import TimeIntervals +from ...core.v2_2_5.core_nwb_icephys import IntracellularElectrode, SweepTable +from ...core.v2_2_5.core_nwb_misc import Units +from ...core.v2_2_5.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_2_5.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_icephys.py index 220fc73..5a57663 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_icephys.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_5.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, -) -from ...core.v2_2_5.core_nwb_device import Device -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 ( + NWBContainer, + TimeSeries, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_2_5.core_nwb_device import Device +from ...hdmf_common.v1_1_3.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_image.py index 483dfd5..7f20c3a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_image.py @@ -1,15 +1,19 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_5.core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_misc.py index 4a2cdd6..36c0f1e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_2_5.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_2_5.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync from ...core.v2_2_5.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_1_3.hdmf_common_table import ( DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, - DynamicTableRegion, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.2.5" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ogen.py index ead9c1a..294866b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_5.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_2_5.core_nwb_device import Device + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ophys.py index 4e95539..4860989 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_ophys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_1_3.hdmf_common_table import ( - DynamicTableRegion, - DynamicTable, - VectorIndex, - VectorData, -) -from ...core.v2_2_5.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_2_5.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_2_5.core_nwb_device import Device from ...core.v2_2_5.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_1_3.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py index 916660c..6f05814 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_2_5.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_2_5.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/namespace.py index c3c4c28..5f82379 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_2_5/namespace.py @@ -1,61 +1,80 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_2_5.core_nwb_base import ( - NWBData, Image, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_2_5.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_2_5.core_nwb_device import Device -from ...core.v2_2_5.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries -from ...core.v2_2_5.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_2_5.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_2_5.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries +from ...core.v2_2_5.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + LabMetaData, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + ScratchData, + Subject, ) from ...core.v2_2_5.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + IZeroClampSeries, + IntracellularElectrode, + PatchClampSeries, + PatchClampSeriesData, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -63,62 +82,46 @@ from ...core.v2_2_5.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, ) -from ...core.v2_2_5.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_2_5.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - PlaneSegmentation, - PlaneSegmentationImageMask, - PlaneSegmentationPixelMask, - PlaneSegmentationVoxelMask, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, - CorrectedImageStack, +from ...core.v2_2_5.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_2_5.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_2_5.core_nwb_file import ( - ScratchData, - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, - LabMetaData, - Subject, -) -from ...core.v2_2_5.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_2_5.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_2_5.core_nwb_ophys import ( + CorrectedImageStack, + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + PlaneSegmentation, + PlaneSegmentationImageMask, + PlaneSegmentationPixelMask, + PlaneSegmentationVoxelMask, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_2_5.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -130,23 +133,24 @@ from ...core.v2_2_5.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) +from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( + CSRMatrix, + CSRMatrixData, + CSRMatrixIndices, + CSRMatrixIndptr, +) from ...hdmf_common.v1_1_3.hdmf_common_table import ( + Container, Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, Index, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, -) -from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( - CSRMatrix, - CSRMatrixIndices, - CSRMatrixIndptr, - CSRMatrixData, ) + metamodel_version = "None" version = "2.2.5" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_base.py index 4fd6a4a..34bb4c6 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_base.py @@ -1,16 +1,20 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_behavior.py index 898519c..ef00827 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_3_0.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_3_0.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_3_0.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_device.py index ec6a770..26e327b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_3_0.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ecephys.py index 72ca241..7092c13 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_3_0.core_nwb_device import Device + from ...core.v2_3_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_3_0.core_nwb_device import Device +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_epoch.py index fd6ff0a..d5015fe 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_file.py index 4fbd77b..2000dfd 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_file.py @@ -1,28 +1,32 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_3_0.core_nwb_misc import Units -from ...core.v2_3_0.core_nwb_device import Device -from ...core.v2_3_0.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_3_0.core_nwb_ophys import ImagingPlane -from ...core.v2_3_0.core_nwb_ecephys import ElectrodeGroup from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from ...core.v2_3_0.core_nwb_icephys import IntracellularElectrode, SweepTable -from ...core.v2_3_0.core_nwb_epoch import TimeIntervals +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_3_0.core_nwb_base import ( - NWBData, NWBContainer, + NWBData, NWBDataInterface, ProcessingModule, TimeSeries, ) +from ...core.v2_3_0.core_nwb_device import Device +from ...core.v2_3_0.core_nwb_ecephys import ElectrodeGroup +from ...core.v2_3_0.core_nwb_epoch import TimeIntervals +from ...core.v2_3_0.core_nwb_icephys import IntracellularElectrode, SweepTable +from ...core.v2_3_0.core_nwb_misc import Units +from ...core.v2_3_0.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_3_0.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_icephys.py index 95dc2af..aad3631 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_icephys.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_3_0.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, -) -from ...core.v2_3_0.core_nwb_device import Device -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 ( + NWBContainer, + TimeSeries, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_3_0.core_nwb_device import Device +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_image.py index 81ce140..fb2bc82 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_image.py @@ -1,15 +1,19 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_3_0.core_nwb_device import Device from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_3_0.core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync +from ...core.v2_3_0.core_nwb_device import Device + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_misc.py index f0e9795..8d984db 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_3_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from ...core.v2_3_0.core_nwb_ecephys import ElectrodeGroup -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_3_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync +from ...core.v2_3_0.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.3.0" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ogen.py index e77547e..2e49cf9 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_3_0.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_3_0.core_nwb_device import Device + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ophys.py index ee291fb..29cac39 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_ophys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, - DynamicTable, - VectorIndex, - VectorData, -) -from ...core.v2_3_0.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_3_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_3_0.core_nwb_device import Device from ...core.v2_3_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py index 85857c3..d58860e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_3_0.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_3_0.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/namespace.py index 2381520..b5ffa4b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_3_0/namespace.py @@ -1,61 +1,80 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_3_0.core_nwb_base import ( - NWBData, Image, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_3_0.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_3_0.core_nwb_device import Device -from ...core.v2_3_0.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries -from ...core.v2_3_0.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_3_0.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_3_0.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries +from ...core.v2_3_0.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + LabMetaData, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + ScratchData, + Subject, ) from ...core.v2_3_0.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + IZeroClampSeries, + IntracellularElectrode, + PatchClampSeries, + PatchClampSeriesData, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -63,62 +82,46 @@ from ...core.v2_3_0.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, ) -from ...core.v2_3_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_3_0.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - PlaneSegmentation, - PlaneSegmentationImageMask, - PlaneSegmentationPixelMask, - PlaneSegmentationVoxelMask, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, - CorrectedImageStack, +from ...core.v2_3_0.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_3_0.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_3_0.core_nwb_file import ( - ScratchData, - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, - LabMetaData, - Subject, -) -from ...core.v2_3_0.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_3_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_3_0.core_nwb_ophys import ( + CorrectedImageStack, + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + PlaneSegmentation, + PlaneSegmentationImageMask, + PlaneSegmentationPixelMask, + PlaneSegmentationVoxelMask, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_3_0.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -130,26 +133,27 @@ from ...core.v2_3_0.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) -from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_5_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_1_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, ExternalResourcesEntities, - ExternalResourcesResources, - ExternalResourcesObjects, + ExternalResourcesKeys, ExternalResourcesObjectKeys, + ExternalResourcesObjects, + ExternalResourcesResources, ) + metamodel_version = "None" version = "2.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_base.py index 9ec8413..b557e8c 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_base.py @@ -1,28 +1,32 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -import numpy as np +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator, model_validator -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container + +import numpy as np from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator, model_validator + +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_behavior.py index 98282c5..c96aee7 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_4_0.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_4_0.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_4_0.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_device.py index f54c25e..ebf61b7 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_4_0.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ecephys.py index de74f33..bfe65b3 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_4_0.core_nwb_device import Device + from ...core.v2_4_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_4_0.core_nwb_device import Device +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_epoch.py index 31033ca..603c5d3 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -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 +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_file.py index bc2132e..186458d 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_file.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_4_0.core_nwb_misc import Units -from ...core.v2_4_0.core_nwb_device import Device -from ...core.v2_4_0.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_4_0.core_nwb_ophys import ImagingPlane -from ...core.v2_4_0.core_nwb_ecephys import ElectrodeGroup from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from ...core.v2_4_0.core_nwb_icephys import ( - IntracellularElectrode, - SweepTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SequentialRecordingsTable, - RepetitionsTable, - ExperimentalConditionsTable, -) -from ...core.v2_4_0.core_nwb_epoch import TimeIntervals +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_4_0.core_nwb_base import ( - NWBData, NWBContainer, + NWBData, NWBDataInterface, ProcessingModule, TimeSeries, ) +from ...core.v2_4_0.core_nwb_device import Device +from ...core.v2_4_0.core_nwb_ecephys import ElectrodeGroup +from ...core.v2_4_0.core_nwb_epoch import TimeIntervals +from ...core.v2_4_0.core_nwb_icephys import ( + ExperimentalConditionsTable, + IntracellularElectrode, + IntracellularRecordingsTable, + RepetitionsTable, + SequentialRecordingsTable, + SimultaneousRecordingsTable, + SweepTable, +) +from ...core.v2_4_0.core_nwb_misc import Units +from ...core.v2_4_0.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_4_0.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_icephys.py index 10cce5d..aa2accc 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_icephys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_4_0.core_nwb_device import Device -from ...core.v2_4_0.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, - TimeSeriesReferenceVectorData, -) -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_4_0.core_nwb_base import ( + NWBContainer, + TimeSeries, + TimeSeriesReferenceVectorData, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_4_0.core_nwb_device import Device from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, - VectorIndex, - VectorData, AlignedDynamicTable, + DynamicTable, DynamicTableRegion, + VectorData, + VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_image.py index c792b06..5d1e5d8 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_image.py @@ -1,15 +1,19 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_4_0.core_nwb_device import Device from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_4_0.core_nwb_base import Image, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync +from ...core.v2_4_0.core_nwb_device import Device + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_misc.py index 5a64e12..6c06a17 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_4_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from ...core.v2_4_0.core_nwb_ecephys import ElectrodeGroup -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_4_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync +from ...core.v2_4_0.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.4.0" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ogen.py index d9184d4..07100b3 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_4_0.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_4_0.core_nwb_device import Device + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ophys.py index da2c58f..0d335ca 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_ophys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, - DynamicTable, - VectorIndex, - VectorData, -) -from ...core.v2_4_0.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_4_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_4_0.core_nwb_device import Device from ...core.v2_4_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py index 1b06207..a42a469 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_4_0.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_4_0.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/namespace.py index 6c6d326..4bc04cd 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_4_0/namespace.py @@ -1,62 +1,93 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_4_0.core_nwb_base import ( - NWBData, - TimeSeriesReferenceVectorData, Image, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, + TimeSeriesReferenceVectorData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_4_0.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_4_0.core_nwb_device import Device -from ...core.v2_4_0.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries -from ...core.v2_4_0.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_4_0.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_4_0.core_nwb_epoch import TimeIntervals, TimeIntervalsTimeseries +from ...core.v2_4_0.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + LabMetaData, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + ScratchData, + Subject, ) from ...core.v2_4_0.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + ExperimentalConditionsTable, + ExperimentalConditionsTableRepetitions, + IZeroClampSeries, + IntracellularElectrode, + IntracellularElectrodesTable, + IntracellularRecordingsTable, + IntracellularResponsesTable, + IntracellularStimuliTable, + PatchClampSeries, + PatchClampSeriesData, + RepetitionsTable, + RepetitionsTableSequentialRecordings, + SequentialRecordingsTable, + SequentialRecordingsTableSimultaneousRecordings, + SimultaneousRecordingsTable, + SimultaneousRecordingsTableRecordings, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -64,74 +95,46 @@ from ...core.v2_4_0.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, - IntracellularElectrodesTable, - IntracellularStimuliTable, - IntracellularResponsesTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SimultaneousRecordingsTableRecordings, - SequentialRecordingsTable, - SequentialRecordingsTableSimultaneousRecordings, - RepetitionsTable, - RepetitionsTableSequentialRecordings, - ExperimentalConditionsTable, - ExperimentalConditionsTableRepetitions, ) -from ...core.v2_4_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_4_0.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - PlaneSegmentation, - PlaneSegmentationImageMask, - PlaneSegmentationPixelMask, - PlaneSegmentationVoxelMask, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, - CorrectedImageStack, +from ...core.v2_4_0.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_4_0.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_4_0.core_nwb_file import ( - ScratchData, - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, - LabMetaData, - Subject, -) -from ...core.v2_4_0.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_4_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_4_0.core_nwb_ophys import ( + CorrectedImageStack, + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + PlaneSegmentation, + PlaneSegmentationImageMask, + PlaneSegmentationPixelMask, + PlaneSegmentationVoxelMask, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_4_0.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -143,26 +146,27 @@ from ...core.v2_4_0.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) -from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_5_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_1_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, ExternalResourcesEntities, - ExternalResourcesResources, - ExternalResourcesObjects, + ExternalResourcesKeys, ExternalResourcesObjectKeys, + ExternalResourcesObjects, + ExternalResourcesResources, ) + metamodel_version = "None" version = "2.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_base.py index aefea7a..3a2170a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_base.py @@ -1,40 +1,44 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( + Annotated, Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, - TypeVar, - overload, - Annotated, Type, + TypeVar, + Union, + overload, ) + +import numpy as np +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, + ValidationInfo, field_validator, model_validator, - ValidationInfo, - BeforeValidator, ) +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData + + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_behavior.py index 86b4bc0..d4e6a03 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_5_0.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_5_0.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_5_0.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_device.py index 4b214a9..16f07fc 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_5_0.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ecephys.py index 7c60b61..343564a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_5_0.core_nwb_device import Device + from ...core.v2_5_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_5_0.core_nwb_device import Device +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_epoch.py index fd5f403..2fafb90 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_5_0.core_nwb_base import TimeSeriesReferenceVectorData -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData + +from ...core.v2_5_0.core_nwb_base import TimeSeriesReferenceVectorData +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_file.py index ae0ce47..039eb68 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_file.py @@ -1,37 +1,41 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_5_0.core_nwb_misc import Units -from ...core.v2_5_0.core_nwb_device import Device -from ...core.v2_5_0.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_5_0.core_nwb_ophys import ImagingPlane -from ...core.v2_5_0.core_nwb_ecephys import ElectrodeGroup from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from ...core.v2_5_0.core_nwb_icephys import ( - IntracellularElectrode, - SweepTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SequentialRecordingsTable, - RepetitionsTable, - ExperimentalConditionsTable, -) -from ...core.v2_5_0.core_nwb_epoch import TimeIntervals +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_5_0.core_nwb_base import ( - NWBData, + Images, NWBContainer, + NWBData, NWBDataInterface, ProcessingModule, TimeSeries, - Images, ) +from ...core.v2_5_0.core_nwb_device import Device +from ...core.v2_5_0.core_nwb_ecephys import ElectrodeGroup +from ...core.v2_5_0.core_nwb_epoch import TimeIntervals +from ...core.v2_5_0.core_nwb_icephys import ( + ExperimentalConditionsTable, + IntracellularElectrode, + IntracellularRecordingsTable, + RepetitionsTable, + SequentialRecordingsTable, + SimultaneousRecordingsTable, + SweepTable, +) +from ...core.v2_5_0.core_nwb_misc import Units +from ...core.v2_5_0.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_5_0.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_icephys.py index 4a7ccc2..bef122c 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_icephys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_5_0.core_nwb_device import Device -from ...core.v2_5_0.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, - TimeSeriesReferenceVectorData, -) -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_5_0.core_nwb_base import ( + NWBContainer, + TimeSeries, + TimeSeriesReferenceVectorData, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_5_0.core_nwb_device import Device from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, - VectorIndex, - VectorData, AlignedDynamicTable, + DynamicTable, DynamicTableRegion, + VectorData, + VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_image.py index 8dbbb44..21e5d0a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_image.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_5_0.core_nwb_device import Device from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_5_0.core_nwb_base import ( Image, + Images, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - Images, ) +from ...core.v2_5_0.core_nwb_device import Device + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_misc.py index 5a7755b..6be8f5c 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_5_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from ...core.v2_5_0.core_nwb_ecephys import ElectrodeGroup -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_5_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync +from ...core.v2_5_0.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.5.0" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ogen.py index f397977..5d3e9ff 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_5_0.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_5_0.core_nwb_device import Device + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ophys.py index 268b313..fef5a92 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_ophys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, - DynamicTable, - VectorIndex, - VectorData, -) -from ...core.v2_5_0.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_5_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_5_0.core_nwb_device import Device from ...core.v2_5_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py index 90bd8c1..e399448 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_5_0.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_5_0.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/namespace.py index dcba87e..5692d11 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_5_0/namespace.py @@ -1,63 +1,94 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_5_0.core_nwb_base import ( - NWBData, - TimeSeriesReferenceVectorData, Image, ImageReferences, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, + TimeSeriesReferenceVectorData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_5_0.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_5_0.core_nwb_device import Device -from ...core.v2_5_0.core_nwb_epoch import TimeIntervals -from ...core.v2_5_0.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_5_0.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_5_0.core_nwb_epoch import TimeIntervals +from ...core.v2_5_0.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + LabMetaData, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + ScratchData, + Subject, ) from ...core.v2_5_0.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + ExperimentalConditionsTable, + ExperimentalConditionsTableRepetitions, + IZeroClampSeries, + IntracellularElectrode, + IntracellularElectrodesTable, + IntracellularRecordingsTable, + IntracellularResponsesTable, + IntracellularStimuliTable, + PatchClampSeries, + PatchClampSeriesData, + RepetitionsTable, + RepetitionsTableSequentialRecordings, + SequentialRecordingsTable, + SequentialRecordingsTableSimultaneousRecordings, + SimultaneousRecordingsTable, + SimultaneousRecordingsTableRecordings, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -65,74 +96,46 @@ from ...core.v2_5_0.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, - IntracellularElectrodesTable, - IntracellularStimuliTable, - IntracellularResponsesTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SimultaneousRecordingsTableRecordings, - SequentialRecordingsTable, - SequentialRecordingsTableSimultaneousRecordings, - RepetitionsTable, - RepetitionsTableSequentialRecordings, - ExperimentalConditionsTable, - ExperimentalConditionsTableRepetitions, ) -from ...core.v2_5_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_5_0.core_nwb_ophys import ( - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - PlaneSegmentation, - PlaneSegmentationImageMask, - PlaneSegmentationPixelMask, - PlaneSegmentationVoxelMask, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, - CorrectedImageStack, +from ...core.v2_5_0.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_5_0.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_5_0.core_nwb_file import ( - ScratchData, - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, - LabMetaData, - Subject, -) -from ...core.v2_5_0.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_5_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_5_0.core_nwb_ophys import ( + CorrectedImageStack, + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OpticalChannel, + PlaneSegmentation, + PlaneSegmentationImageMask, + PlaneSegmentationPixelMask, + PlaneSegmentationVoxelMask, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_5_0.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -144,26 +147,27 @@ from ...core.v2_5_0.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) -from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_5_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_1_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, ExternalResourcesEntities, - ExternalResourcesResources, - ExternalResourcesObjects, + ExternalResourcesKeys, ExternalResourcesObjectKeys, + ExternalResourcesObjects, + ExternalResourcesResources, ) + metamodel_version = "None" version = "2.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py index 624853e..c4d356f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_base.py @@ -1,40 +1,44 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import VectorData, DynamicTable +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( + Annotated, Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, - TypeVar, - overload, - Annotated, Type, + TypeVar, + Union, + overload, ) + +import numpy as np +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, + ValidationInfo, field_validator, model_validator, - ValidationInfo, - BeforeValidator, ) +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData + + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py index 508ddf8..07f5165 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_6_0_alpha.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_6_0_alpha.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_6_0_alpha.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py index 544b533..c1a89c4 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_6_0_alpha.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py index 2c241ec..d83d650 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_6_0_alpha.core_nwb_device import Device + from ...core.v2_6_0_alpha.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_6_0_alpha.core_nwb_device import Device +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py index 29ed69e..46da361 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_6_0_alpha.core_nwb_base import TimeSeriesReferenceVectorData -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData + +from ...core.v2_6_0_alpha.core_nwb_base import TimeSeriesReferenceVectorData +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py index db4b5ca..6c39f8e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_file.py @@ -1,37 +1,41 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_6_0_alpha.core_nwb_misc import Units -from ...core.v2_6_0_alpha.core_nwb_device import Device -from ...core.v2_6_0_alpha.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_6_0_alpha.core_nwb_ophys import ImagingPlane -from ...core.v2_6_0_alpha.core_nwb_ecephys import ElectrodeGroup from numpydantic import NDArray, Shape -from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData -from ...core.v2_6_0_alpha.core_nwb_icephys import ( - IntracellularElectrode, - SweepTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SequentialRecordingsTable, - RepetitionsTable, - ExperimentalConditionsTable, -) -from ...core.v2_6_0_alpha.core_nwb_epoch import TimeIntervals +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_6_0_alpha.core_nwb_base import ( - NWBData, + Images, NWBContainer, + NWBData, NWBDataInterface, ProcessingModule, TimeSeries, - Images, ) +from ...core.v2_6_0_alpha.core_nwb_device import Device +from ...core.v2_6_0_alpha.core_nwb_ecephys import ElectrodeGroup +from ...core.v2_6_0_alpha.core_nwb_epoch import TimeIntervals +from ...core.v2_6_0_alpha.core_nwb_icephys import ( + ExperimentalConditionsTable, + IntracellularElectrode, + IntracellularRecordingsTable, + RepetitionsTable, + SequentialRecordingsTable, + SimultaneousRecordingsTable, + SweepTable, +) +from ...core.v2_6_0_alpha.core_nwb_misc import Units +from ...core.v2_6_0_alpha.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_6_0_alpha.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_5_0.hdmf_common_table import DynamicTable, VectorData + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py index b18f673..8142b53 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_icephys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_6_0_alpha.core_nwb_device import Device -from ...core.v2_6_0_alpha.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, - TimeSeriesReferenceVectorData, -) -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_6_0_alpha.core_nwb_base import ( + NWBContainer, + TimeSeries, + TimeSeriesReferenceVectorData, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_6_0_alpha.core_nwb_device import Device from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTable, - VectorIndex, - VectorData, AlignedDynamicTable, + DynamicTable, DynamicTableRegion, + VectorData, + VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py index ed4d986..e0506e9 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_image.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_6_0_alpha.core_nwb_device import Device from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_6_0_alpha.core_nwb_base import ( Image, + Images, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - Images, ) +from ...core.v2_6_0_alpha.core_nwb_device import Device + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py index 66dad75..ee349a1 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_6_0_alpha.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from ...core.v2_6_0_alpha.core_nwb_ecephys import ElectrodeGroup -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_6_0_alpha.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync +from ...core.v2_6_0_alpha.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.6.0-alpha" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py index 0371f5d..5565ce8 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_6_0_alpha.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_6_0_alpha.core_nwb_device import Device + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py index 7c3e17b..76d0e67 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_ophys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_5_0.hdmf_common_table import ( - DynamicTableRegion, - DynamicTable, - VectorIndex, - VectorData, -) -from ...core.v2_6_0_alpha.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_6_0_alpha.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_6_0_alpha.core_nwb_device import Device from ...core.v2_6_0_alpha.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_5_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py index d454105..b3017f1 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_6_0_alpha.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_6_0_alpha.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/namespace.py index acb6d6a..a6c0e87 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_6_0_alpha/namespace.py @@ -1,63 +1,95 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_6_0_alpha.core_nwb_base import ( - NWBData, - TimeSeriesReferenceVectorData, Image, ImageReferences, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, + TimeSeriesReferenceVectorData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_6_0_alpha.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_6_0_alpha.core_nwb_device import Device -from ...core.v2_6_0_alpha.core_nwb_epoch import TimeIntervals -from ...core.v2_6_0_alpha.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_6_0_alpha.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_6_0_alpha.core_nwb_epoch import TimeIntervals +from ...core.v2_6_0_alpha.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + LabMetaData, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + ScratchData, + Subject, + SubjectAge, ) from ...core.v2_6_0_alpha.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + ExperimentalConditionsTable, + ExperimentalConditionsTableRepetitions, + IZeroClampSeries, + IntracellularElectrode, + IntracellularElectrodesTable, + IntracellularRecordingsTable, + IntracellularResponsesTable, + IntracellularStimuliTable, + PatchClampSeries, + PatchClampSeriesData, + RepetitionsTable, + RepetitionsTableSequentialRecordings, + SequentialRecordingsTable, + SequentialRecordingsTableSimultaneousRecordings, + SimultaneousRecordingsTable, + SimultaneousRecordingsTableRecordings, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -65,76 +97,47 @@ from ...core.v2_6_0_alpha.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, - IntracellularElectrodesTable, - IntracellularStimuliTable, - IntracellularResponsesTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SimultaneousRecordingsTableRecordings, - SequentialRecordingsTable, - SequentialRecordingsTableSimultaneousRecordings, - RepetitionsTable, - RepetitionsTableSequentialRecordings, - ExperimentalConditionsTable, - ExperimentalConditionsTableRepetitions, ) -from ...core.v2_6_0_alpha.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_6_0_alpha.core_nwb_ophys import ( - OnePhotonSeries, - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - PlaneSegmentation, - PlaneSegmentationImageMask, - PlaneSegmentationPixelMask, - PlaneSegmentationVoxelMask, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, - CorrectedImageStack, +from ...core.v2_6_0_alpha.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_6_0_alpha.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_6_0_alpha.core_nwb_file import ( - ScratchData, - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, - LabMetaData, - Subject, - SubjectAge, -) -from ...core.v2_6_0_alpha.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_6_0_alpha.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_6_0_alpha.core_nwb_ophys import ( + CorrectedImageStack, + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OnePhotonSeries, + OpticalChannel, + PlaneSegmentation, + PlaneSegmentationImageMask, + PlaneSegmentationPixelMask, + PlaneSegmentationVoxelMask, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_6_0_alpha.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -146,26 +149,27 @@ from ...core.v2_6_0_alpha.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) -from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_5_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_1_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, ExternalResourcesEntities, - ExternalResourcesResources, - ExternalResourcesObjects, + ExternalResourcesKeys, ExternalResourcesObjectKeys, + ExternalResourcesObjects, + ExternalResourcesResources, ) + metamodel_version = "None" version = "2.6.0-alpha" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_base.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_base.py index 09a6f8b..961bfd4 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_base.py @@ -1,40 +1,44 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData, DynamicTable +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( + Annotated, Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, - TypeVar, - overload, - Annotated, Type, + TypeVar, + Union, + overload, ) + +import numpy as np +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, + ValidationInfo, field_validator, model_validator, - ValidationInfo, - BeforeValidator, ) +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data +from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorData + + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_behavior.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_behavior.py index 780e83a..43c1936 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_behavior.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_behavior.py @@ -1,20 +1,24 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape -from ...core.v2_7_0.core_nwb_misc import IntervalSeries +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_7_0.core_nwb_base import ( + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, ) +from ...core.v2_7_0.core_nwb_misc import IntervalSeries + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_device.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_device.py index 24e2e67..3867744 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_device.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_device.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_7_0.core_nwb_base import NWBContainer + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ecephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ecephys.py index 17de2b5..89eeeb0 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ecephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ecephys.py @@ -1,30 +1,34 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTableRegion -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...core.v2_7_0.core_nwb_device import Device + from ...core.v2_7_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBDataInterface, - NWBContainer, ) -from numpydantic import NDArray, Shape +from ...core.v2_7_0.core_nwb_device import Device +from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTableRegion + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_epoch.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_epoch.py index 1b07dac..95178b0 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_epoch.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_epoch.py @@ -1,23 +1,27 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_7_0.core_nwb_base import TimeSeriesReferenceVectorData -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from numpydantic import NDArray, Shape -from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorIndex, VectorData + +from ...core.v2_7_0.core_nwb_base import TimeSeriesReferenceVectorData +from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorData, VectorIndex + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_file.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_file.py index 20ea663..fe7fabd 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_file.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_file.py @@ -1,37 +1,41 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_7_0.core_nwb_misc import Units -from ...core.v2_7_0.core_nwb_device import Device -from ...core.v2_7_0.core_nwb_ogen import OptogeneticStimulusSite -from ...core.v2_7_0.core_nwb_ophys import ImagingPlane -from ...core.v2_7_0.core_nwb_ecephys import ElectrodeGroup from numpydantic import NDArray, Shape -from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorData -from ...core.v2_7_0.core_nwb_icephys import ( - IntracellularElectrode, - SweepTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SequentialRecordingsTable, - RepetitionsTable, - ExperimentalConditionsTable, -) -from ...core.v2_7_0.core_nwb_epoch import TimeIntervals +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_7_0.core_nwb_base import ( - NWBData, + Images, NWBContainer, + NWBData, NWBDataInterface, ProcessingModule, TimeSeries, - Images, ) +from ...core.v2_7_0.core_nwb_device import Device +from ...core.v2_7_0.core_nwb_ecephys import ElectrodeGroup +from ...core.v2_7_0.core_nwb_epoch import TimeIntervals +from ...core.v2_7_0.core_nwb_icephys import ( + ExperimentalConditionsTable, + IntracellularElectrode, + IntracellularRecordingsTable, + RepetitionsTable, + SequentialRecordingsTable, + SimultaneousRecordingsTable, + SweepTable, +) +from ...core.v2_7_0.core_nwb_misc import Units +from ...core.v2_7_0.core_nwb_ogen import OptogeneticStimulusSite +from ...core.v2_7_0.core_nwb_ophys import ImagingPlane +from ...hdmf_common.v1_8_0.hdmf_common_table import DynamicTable, VectorData + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_icephys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_icephys.py index 6993568..9e72812 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_icephys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_icephys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_7_0.core_nwb_device import Device -from ...core.v2_7_0.core_nwb_base import ( - TimeSeries, - TimeSeriesStartingTime, - TimeSeriesSync, - NWBContainer, - TimeSeriesReferenceVectorData, -) -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_7_0.core_nwb_base import ( + NWBContainer, + TimeSeries, + TimeSeriesReferenceVectorData, + TimeSeriesStartingTime, + TimeSeriesSync, +) +from ...core.v2_7_0.core_nwb_device import Device from ...hdmf_common.v1_8_0.hdmf_common_table import ( - DynamicTable, - VectorIndex, - VectorData, AlignedDynamicTable, + DynamicTable, DynamicTableRegion, + VectorData, + VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_image.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_image.py index c2b5aff..d98ffe1 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_image.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_image.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_7_0.core_nwb_device import Device from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_7_0.core_nwb_base import ( Image, + Images, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - Images, ) +from ...core.v2_7_0.core_nwb_device import Device + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_misc.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_misc.py index a30d3e0..31c081b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_misc.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_misc.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from ...core.v2_7_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync -from ...core.v2_7_0.core_nwb_ecephys import ElectrodeGroup -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) + +from ...core.v2_7_0.core_nwb_base import TimeSeries, TimeSeriesStartingTime, TimeSeriesSync +from ...core.v2_7_0.core_nwb_ecephys import ElectrodeGroup from ...hdmf_common.v1_8_0.hdmf_common_table import ( - DynamicTableRegion, DynamicTable, + DynamicTableRegion, VectorData, VectorIndex, ) -from numpydantic import NDArray, Shape + metamodel_version = "None" version = "2.7.0" @@ -178,7 +182,7 @@ class AbstractFeatureSeriesData(ConfiguredBaseModel): json_schema_extra={"linkml_meta": {"equals_string": "data", "ifabsent": "string(data)"}}, ) unit: Optional[str] = Field( - "see 'feature_units'", + "see ", description="""Since there can be different units for different features, store the units in 'feature_units'. The default value for this attribute is \"see 'feature_units'\".""", json_schema_extra={"linkml_meta": {"ifabsent": "string(see 'feature_units')"}}, ) diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ogen.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ogen.py index 881aea0..5eb87cf 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ogen.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ogen.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_7_0.core_nwb_base import ( + NWBContainer, TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - NWBContainer, ) from ...core.v2_7_0.core_nwb_device import Device + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ophys.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ophys.py index e17fe42..3f8d8eb 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ophys.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_ophys.py @@ -1,36 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Annotated, Any, ClassVar, Dict, List, Literal, Optional, Type, TypeVar, Union + import numpy as np -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union, Annotated, Type, TypeVar +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, + BeforeValidator, ConfigDict, Field, RootModel, - field_validator, ValidationInfo, - BeforeValidator, + field_validator, ) -from ...hdmf_common.v1_8_0.hdmf_common_table import ( - DynamicTableRegion, - DynamicTable, - VectorIndex, - VectorData, -) -from ...core.v2_7_0.core_nwb_device import Device -from numpydantic import NDArray, Shape + from ...core.v2_7_0.core_nwb_base import ( + NWBContainer, + NWBDataInterface, + TimeSeries, TimeSeriesStartingTime, TimeSeriesSync, - TimeSeries, - NWBDataInterface, - NWBContainer, ) +from ...core.v2_7_0.core_nwb_device import Device from ...core.v2_7_0.core_nwb_image import ImageSeries, ImageSeriesExternalFile +from ...hdmf_common.v1_8_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + VectorData, + VectorIndex, +) + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py index 1d8b514..909aaf3 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/core_nwb_retinotopy.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...core.v2_7_0.core_nwb_base import NWBDataInterface from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...core.v2_7_0.core_nwb_base import NWBDataInterface + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/namespace.py index 40e7a46..9256d2f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/core/v2_7_0/namespace.py @@ -1,63 +1,95 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + from ...core.v2_7_0.core_nwb_base import ( - NWBData, - TimeSeriesReferenceVectorData, Image, ImageReferences, + Images, NWBContainer, + NWBData, NWBDataInterface, + ProcessingModule, TimeSeries, TimeSeriesData, + TimeSeriesReferenceVectorData, TimeSeriesStartingTime, TimeSeriesSync, - ProcessingModule, - Images, +) +from ...core.v2_7_0.core_nwb_behavior import ( + BehavioralEpochs, + BehavioralEvents, + BehavioralTimeSeries, + CompassDirection, + EyeTracking, + Position, + PupilTracking, + SpatialSeries, + SpatialSeriesData, ) from ...core.v2_7_0.core_nwb_device import Device -from ...core.v2_7_0.core_nwb_epoch import TimeIntervals -from ...core.v2_7_0.core_nwb_image import ( - GrayscaleImage, - RGBImage, - RGBAImage, - ImageSeries, - ImageSeriesExternalFile, - ImageMaskSeries, - OpticalSeries, - IndexSeries, -) from ...core.v2_7_0.core_nwb_ecephys import ( - ElectricalSeries, - SpikeEventSeries, - FeatureExtraction, - EventDetection, - EventWaveform, - FilteredEphys, - LFP, - ElectrodeGroup, - ElectrodeGroupPosition, ClusterWaveforms, Clustering, + ElectricalSeries, + ElectrodeGroup, + ElectrodeGroupPosition, + EventDetection, + EventWaveform, + FeatureExtraction, + FilteredEphys, + LFP, + SpikeEventSeries, +) +from ...core.v2_7_0.core_nwb_epoch import TimeIntervals +from ...core.v2_7_0.core_nwb_file import ( + ExtracellularEphysElectrodes, + GeneralExtracellularEphys, + GeneralIntracellularEphys, + GeneralSourceScript, + LabMetaData, + NWBFile, + NWBFileGeneral, + NWBFileIntervals, + NWBFileStimulus, + ScratchData, + Subject, + SubjectAge, ) from ...core.v2_7_0.core_nwb_icephys import ( - PatchClampSeries, - PatchClampSeriesData, CurrentClampSeries, CurrentClampSeriesData, - IZeroClampSeries, CurrentClampStimulusSeries, CurrentClampStimulusSeriesData, + ExperimentalConditionsTable, + ExperimentalConditionsTableRepetitions, + IZeroClampSeries, + IntracellularElectrode, + IntracellularElectrodesTable, + IntracellularRecordingsTable, + IntracellularResponsesTable, + IntracellularStimuliTable, + PatchClampSeries, + PatchClampSeriesData, + RepetitionsTable, + RepetitionsTableSequentialRecordings, + SequentialRecordingsTable, + SequentialRecordingsTableSimultaneousRecordings, + SimultaneousRecordingsTable, + SimultaneousRecordingsTableRecordings, + SweepTable, VoltageClampSeries, - VoltageClampSeriesData, VoltageClampSeriesCapacitanceFast, VoltageClampSeriesCapacitanceSlow, + VoltageClampSeriesData, VoltageClampSeriesResistanceCompBandwidth, VoltageClampSeriesResistanceCompCorrection, VoltageClampSeriesResistanceCompPrediction, @@ -65,76 +97,47 @@ from ...core.v2_7_0.core_nwb_icephys import ( VoltageClampSeriesWholeCellSeriesResistanceComp, VoltageClampStimulusSeries, VoltageClampStimulusSeriesData, - IntracellularElectrode, - SweepTable, - IntracellularElectrodesTable, - IntracellularStimuliTable, - IntracellularResponsesTable, - IntracellularRecordingsTable, - SimultaneousRecordingsTable, - SimultaneousRecordingsTableRecordings, - SequentialRecordingsTable, - SequentialRecordingsTableSimultaneousRecordings, - RepetitionsTable, - RepetitionsTableSequentialRecordings, - ExperimentalConditionsTable, - ExperimentalConditionsTableRepetitions, ) -from ...core.v2_7_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite -from ...core.v2_7_0.core_nwb_ophys import ( - OnePhotonSeries, - TwoPhotonSeries, - RoiResponseSeries, - DfOverF, - Fluorescence, - ImageSegmentation, - PlaneSegmentation, - PlaneSegmentationImageMask, - PlaneSegmentationPixelMask, - PlaneSegmentationVoxelMask, - ImagingPlane, - ImagingPlaneManifold, - ImagingPlaneOriginCoords, - ImagingPlaneGridSpacing, - OpticalChannel, - MotionCorrection, - CorrectedImageStack, +from ...core.v2_7_0.core_nwb_image import ( + GrayscaleImage, + ImageMaskSeries, + ImageSeries, + ImageSeriesExternalFile, + IndexSeries, + OpticalSeries, + RGBAImage, + RGBImage, ) from ...core.v2_7_0.core_nwb_misc import ( AbstractFeatureSeries, AbstractFeatureSeriesData, AnnotationSeries, - IntervalSeries, DecompositionSeries, - DecompositionSeriesData, DecompositionSeriesBands, + DecompositionSeriesData, + IntervalSeries, Units, UnitsSpikeTimes, ) -from ...core.v2_7_0.core_nwb_file import ( - ScratchData, - NWBFile, - NWBFileStimulus, - NWBFileGeneral, - GeneralSourceScript, - GeneralExtracellularEphys, - ExtracellularEphysElectrodes, - GeneralIntracellularEphys, - NWBFileIntervals, - LabMetaData, - Subject, - SubjectAge, -) -from ...core.v2_7_0.core_nwb_behavior import ( - SpatialSeries, - SpatialSeriesData, - BehavioralEpochs, - BehavioralEvents, - BehavioralTimeSeries, - PupilTracking, - EyeTracking, - CompassDirection, - Position, +from ...core.v2_7_0.core_nwb_ogen import OptogeneticSeries, OptogeneticStimulusSite +from ...core.v2_7_0.core_nwb_ophys import ( + CorrectedImageStack, + DfOverF, + Fluorescence, + ImageSegmentation, + ImagingPlane, + ImagingPlaneGridSpacing, + ImagingPlaneManifold, + ImagingPlaneOriginCoords, + MotionCorrection, + OnePhotonSeries, + OpticalChannel, + PlaneSegmentation, + PlaneSegmentationImageMask, + PlaneSegmentationPixelMask, + PlaneSegmentationVoxelMask, + RoiResponseSeries, + TwoPhotonSeries, ) from ...core.v2_7_0.core_nwb_retinotopy import ( ImagingRetinotopy, @@ -146,27 +149,28 @@ from ...core.v2_7_0.core_nwb_retinotopy import ( ImagingRetinotopySignMap, ImagingRetinotopyVasculatureImage, ) -from ...hdmf_experimental.v0_5_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_8_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_8_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_8_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_5_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_5_0.hdmf_experimental_resources import ( HERD, - HERDKeys, - HERDFiles, HERDEntities, - HERDObjects, - HERDObjectKeys, HERDEntityKeys, + HERDFiles, + HERDKeys, + HERDObjectKeys, + HERDObjects, ) + metamodel_version = "None" version = "2.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py index 8cd8423..c71894e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_sparse.py @@ -1,13 +1,16 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.1.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py index f571cc5..fb5ae6f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/hdmf_common_table.py @@ -1,37 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np + metamodel_version = "None" version = "1.1.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/namespace.py index 1c1afba..1a6e22f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_0/namespace.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_0.hdmf_common_sparse import ( + CSRMatrix, + CSRMatrixData, + CSRMatrixIndices, + CSRMatrixIndptr, +) from ...hdmf_common.v1_1_0.hdmf_common_table import ( + Container, Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, Index, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, -) -from ...hdmf_common.v1_1_0.hdmf_common_sparse import ( - CSRMatrix, - CSRMatrixIndices, - CSRMatrixIndptr, - CSRMatrixData, ) + metamodel_version = "None" version = "1.1.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py index f0d3be3..bd66832 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_sparse.py @@ -1,13 +1,16 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.1.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py index 17128ad..50f164b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/hdmf_common_table.py @@ -1,37 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np + metamodel_version = "None" version = "1.1.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/namespace.py index 29637dd..786e141 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_2/namespace.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_2.hdmf_common_sparse import ( + CSRMatrix, + CSRMatrixData, + CSRMatrixIndices, + CSRMatrixIndptr, +) from ...hdmf_common.v1_1_2.hdmf_common_table import ( + Container, Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, Index, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, -) -from ...hdmf_common.v1_1_2.hdmf_common_sparse import ( - CSRMatrix, - CSRMatrixIndices, - CSRMatrixIndptr, - CSRMatrixData, ) + metamodel_version = "None" version = "1.1.2" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py index 7e9fa34..09ea0f1 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_sparse.py @@ -1,13 +1,16 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.1.3" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py index 8b25e7d..0d16b55 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/hdmf_common_table.py @@ -1,37 +1,40 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np + metamodel_version = "None" version = "1.1.3" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/namespace.py index 7a5750e..1458d9b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_1_3/namespace.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( + CSRMatrix, + CSRMatrixData, + CSRMatrixIndices, + CSRMatrixIndptr, +) from ...hdmf_common.v1_1_3.hdmf_common_table import ( + Container, Data, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, Index, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - Container, - DynamicTable, -) -from ...hdmf_common.v1_1_3.hdmf_common_sparse import ( - CSRMatrix, - CSRMatrixIndices, - CSRMatrixIndptr, - CSRMatrixData, ) + metamodel_version = "None" version = "1.1.3" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_base.py index 0880d00..aa2b460 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_sparse.py index 0029140..a0a70de 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_sparse.py @@ -1,13 +1,16 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_table.py index 561d242..647bc23 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_2_0.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np + +from ...hdmf_common.v1_2_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/namespace.py index c31e7ff..f56d638 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_0/namespace.py @@ -1,27 +1,31 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_2_0.hdmf_common_base import Data, Container -from ...hdmf_common.v1_2_0.hdmf_common_table import ( - VectorData, - VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - VocabData, - DynamicTable, -) +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_2_0.hdmf_common_base import Container, Data from ...hdmf_common.v1_2_0.hdmf_common_sparse import ( CSRMatrix, + CSRMatrixData, CSRMatrixIndices, CSRMatrixIndptr, - CSRMatrixData, ) +from ...hdmf_common.v1_2_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, + VectorData, + VectorIndex, + VocabData, +) + metamodel_version = "None" version = "1.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_base.py index 60eea59..7476a40 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_sparse.py index ebdac35..c2222d1 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_2_1.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_2_1.hdmf_common_base import Container + metamodel_version = "None" version = "1.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_table.py index 9ff2a6c..d1c0692 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_2_1.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np + +from ...hdmf_common.v1_2_1.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/namespace.py index c89a6a3..f8a0d6f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_2_1/namespace.py @@ -1,27 +1,31 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_2_1.hdmf_common_base import Data, Container, SimpleMultiContainer -from ...hdmf_common.v1_2_1.hdmf_common_table import ( - VectorData, - VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - VocabData, - DynamicTable, -) +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_2_1.hdmf_common_base import Container, Data, SimpleMultiContainer from ...hdmf_common.v1_2_1.hdmf_common_sparse import ( CSRMatrix, + CSRMatrixData, CSRMatrixIndices, CSRMatrixIndptr, - CSRMatrixData, ) +from ...hdmf_common.v1_2_1.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, + VectorData, + VectorIndex, + VocabData, +) + metamodel_version = "None" version = "1.2.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_base.py index 1752575..d484652 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_resources.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_resources.py index 9331ccc..8f8f711 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_resources.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_resources.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_3_0.hdmf_common_base import Container, Data from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_3_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_sparse.py index e01d80e..4d93c70 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_3_0.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_3_0.hdmf_common_base import Container + metamodel_version = "None" version = "1.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_table.py index 1ecc2ec..ece0532 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_3_0.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np + +from ...hdmf_common.v1_3_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/namespace.py index c2f6901..dcb742c 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_3_0/namespace.py @@ -1,29 +1,33 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_3_0.hdmf_common_base import Data, Container, SimpleMultiContainer -from ...hdmf_common.v1_3_0.hdmf_common_table import ( - VectorData, - VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - VocabData, - DynamicTable, -) -from ...hdmf_common.v1_3_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_3_0.hdmf_common_base import Container, Data, SimpleMultiContainer from ...hdmf_common.v1_3_0.hdmf_common_resources import ( ExternalResources, ExternalResourcesKeys, - ExternalResourcesResources, - ExternalResourcesObjects, ExternalResourcesObjectKeys, + ExternalResourcesObjects, + ExternalResourcesResources, ) +from ...hdmf_common.v1_3_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_common.v1_3_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, + VectorData, + VectorIndex, + VocabData, +) + metamodel_version = "None" version = "1.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_base.py index 9d878a5..f47e8ca 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_sparse.py index 00a62c7..af8cc73 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_4_0.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_4_0.hdmf_common_base import Container + metamodel_version = "None" version = "1.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_table.py index d37f163..d1202ef 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_4_0.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np + +from ...hdmf_common.v1_4_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/namespace.py index 84c3125..b110f2d 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_4_0/namespace.py @@ -1,21 +1,25 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_4_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_4_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_4_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_4_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, ) -from ...hdmf_common.v1_4_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData + metamodel_version = "None" version = "1.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py index 5545403..2412f82 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py index f07bed2..21258d8 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_0.hdmf_common_base import Container + metamodel_version = "None" version = "1.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py index c53154c..c1b61d9 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np -from numpydantic import NDArray, Shape + +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/namespace.py index 4b6ad5d..d5c14d9 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_0/namespace.py @@ -1,22 +1,26 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_5_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_5_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_5_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData + metamodel_version = "None" version = "1.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_base.py index 737fa66..f3c24b4 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.5.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_sparse.py index 41d0d3a..fce455b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_5_1.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_1.hdmf_common_base import Container + metamodel_version = "None" version = "1.5.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_table.py index 39a4eb3..4a91362 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_5_1.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np -from numpydantic import NDArray, Shape + +from ...hdmf_common.v1_5_1.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.5.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/namespace.py index 12d611d..442efe7 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_5_1/namespace.py @@ -1,22 +1,26 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_5_1.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_1.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_5_1.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_5_1.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_5_1.hdmf_common_sparse import CSRMatrix, CSRMatrixData + metamodel_version = "None" version = "1.5.1" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_base.py index 21354d9..d53c4b5 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.6.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_sparse.py index bc4a505..d60f430 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_6_0.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_6_0.hdmf_common_base import Container + metamodel_version = "None" version = "1.6.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_table.py index da0bc73..da5a37f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_6_0.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np -from numpydantic import NDArray, Shape + +from ...hdmf_common.v1_6_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.6.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/namespace.py index a0e5dec..f9dd0a8 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_6_0/namespace.py @@ -1,22 +1,26 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_6_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_6_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_6_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_6_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_6_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData + metamodel_version = "None" version = "1.6.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_base.py index ec81b87..7872584 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_sparse.py index 3bfd4a8..e21dca7 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_7_0.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_7_0.hdmf_common_base import Container + metamodel_version = "None" version = "1.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_table.py index 627f80d..9638faa 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_7_0.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np -from numpydantic import NDArray, Shape + +from ...hdmf_common.v1_7_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/namespace.py index 0f177b7..a3f0b14 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_7_0/namespace.py @@ -1,22 +1,26 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_7_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_7_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_7_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_7_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_7_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData + metamodel_version = "None" version = "1.7.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py index 0e61a5c..8b4d98f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_base.py @@ -1,12 +1,15 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + metamodel_version = "None" version = "1.8.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py index aef8124..4da904e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_sparse.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_base import Container from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_8_0.hdmf_common_base import Container + metamodel_version = "None" version = "1.8.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py index 5a29869..b62156a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/hdmf_common_table.py @@ -1,38 +1,42 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container -import pandas as pd +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum from typing import ( Any, ClassVar, - List, - Literal, Dict, - Optional, - Union, Generic, Iterable, + List, + Literal, + Optional, Tuple, TypeVar, + Union, overload, ) + +import numpy as np +import pandas as pd +from numpydantic import NDArray, Shape from pydantic import ( BaseModel, ConfigDict, Field, RootModel, - field_validator, - model_validator, + ValidationError, ValidationInfo, ValidatorFunctionWrapHandler, - ValidationError, + field_validator, + model_validator, ) -import numpy as np -from numpydantic import NDArray, Shape + +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "1.8.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/namespace.py index 1e21c28..78035be 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_common/v1_8_0/namespace.py @@ -1,22 +1,26 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_8_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_8_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_8_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData + metamodel_version = "None" version = "1.8.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py index 9a95aea..c5848aa 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_experimental.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_4_0.hdmf_common_table import VectorData from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_4_0.hdmf_common_table import VectorData + metamodel_version = "None" version = "0.1.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py index fdeb151..5d0a97e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/hdmf_experimental_resources.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_4_0.hdmf_common_base import Container, Data from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_4_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "0.1.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/namespace.py index ee0ffd8..3389dc8 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_1_0/namespace.py @@ -1,31 +1,35 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_4_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_4_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_4_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_4_0.hdmf_common_table import ( + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, ) -from ...hdmf_common.v1_4_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_1_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_1_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, ExternalResourcesEntities, - ExternalResourcesResources, - ExternalResourcesObjects, + ExternalResourcesKeys, ExternalResourcesObjectKeys, + ExternalResourcesObjects, + ExternalResourcesResources, ) + metamodel_version = "None" version = "0.1.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_experimental.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_experimental.py index 01b7693..a840dc1 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_experimental.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_experimental.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_5_1.hdmf_common_table import VectorData from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_1.hdmf_common_table import VectorData + metamodel_version = "None" version = "0.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_resources.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_resources.py index 81b0840..8690772 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_resources.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/hdmf_experimental_resources.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_5_1.hdmf_common_base import Container, Data from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_1.hdmf_common_base import Container, Data + metamodel_version = "None" version = "0.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/namespace.py index bc6a722..8b52b45 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_2_0/namespace.py @@ -1,32 +1,36 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_experimental.v0_2_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_5_1.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_5_1.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_5_1.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_5_1.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_5_1.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_2_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_2_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, ExternalResourcesEntities, - ExternalResourcesResources, - ExternalResourcesObjects, + ExternalResourcesKeys, ExternalResourcesObjectKeys, + ExternalResourcesObjects, + ExternalResourcesResources, ) + metamodel_version = "None" version = "0.2.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_experimental.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_experimental.py index effed9e..4fdfb37 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_experimental.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_experimental.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_6_0.hdmf_common_table import VectorData from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_6_0.hdmf_common_table import VectorData + metamodel_version = "None" version = "0.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_resources.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_resources.py index 52e554a..1324db1 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_resources.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/hdmf_experimental_resources.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_6_0.hdmf_common_base import Container, Data from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_6_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "0.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/namespace.py index 9e495ff..c4b9cd8 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_3_0/namespace.py @@ -1,32 +1,36 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_experimental.v0_3_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_6_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_6_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_6_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_6_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_6_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_3_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_3_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, - ExternalResourcesFiles, ExternalResourcesEntities, - ExternalResourcesObjects, + ExternalResourcesFiles, + ExternalResourcesKeys, ExternalResourcesObjectKeys, + ExternalResourcesObjects, ) + metamodel_version = "None" version = "0.3.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_experimental.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_experimental.py index 49f56f2..43eab2a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_experimental.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_experimental.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_7_0.hdmf_common_table import VectorData from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_7_0.hdmf_common_table import VectorData + metamodel_version = "None" version = "0.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_resources.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_resources.py index acfc7df..172b75b 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_resources.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/hdmf_experimental_resources.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_7_0.hdmf_common_base import Container, Data from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_7_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "0.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/namespace.py index 328768f..14fcb96 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_4_0/namespace.py @@ -1,33 +1,37 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_experimental.v0_4_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_7_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_7_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_7_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_7_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_7_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_4_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_4_0.hdmf_experimental_resources import ( ExternalResources, - ExternalResourcesKeys, - ExternalResourcesFiles, ExternalResourcesEntities, - ExternalResourcesObjects, - ExternalResourcesObjectKeys, ExternalResourcesEntityKeys, + ExternalResourcesFiles, + ExternalResourcesKeys, + ExternalResourcesObjectKeys, + ExternalResourcesObjects, ) + metamodel_version = "None" version = "0.4.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py index 263e7b2..a18965f 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_experimental.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_8_0.hdmf_common_table import VectorData + metamodel_version = "None" version = "0.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py index 9cbbb79..712c32e 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/hdmf_experimental_resources.py @@ -1,14 +1,18 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data from numpydantic import NDArray, Shape +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data + metamodel_version = "None" version = "0.5.0" diff --git a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/namespace.py b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/namespace.py index 348ad8d..b4c0f3a 100644 --- a/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/namespace.py +++ b/nwb_models/src/nwb_models/models/pydantic/hdmf_experimental/v0_5_0/namespace.py @@ -1,33 +1,37 @@ from __future__ import annotations -from datetime import datetime, date -from decimal import Decimal -from enum import Enum + import re import sys -from typing import Any, ClassVar, List, Literal, Dict, Optional, Union -from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator +from datetime import date, datetime, time +from decimal import Decimal +from enum import Enum +from typing import Any, ClassVar, Dict, List, Literal, Optional, Union + import numpy as np -from ...hdmf_experimental.v0_5_0.hdmf_experimental_experimental import EnumData -from ...hdmf_common.v1_8_0.hdmf_common_base import Data, Container, SimpleMultiContainer +from pydantic import BaseModel, ConfigDict, Field, RootModel, field_validator + +from ...hdmf_common.v1_8_0.hdmf_common_base import Container, Data, SimpleMultiContainer +from ...hdmf_common.v1_8_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData from ...hdmf_common.v1_8_0.hdmf_common_table import ( + AlignedDynamicTable, + DynamicTable, + DynamicTableRegion, + ElementIdentifiers, VectorData, VectorIndex, - ElementIdentifiers, - DynamicTableRegion, - DynamicTable, - AlignedDynamicTable, ) -from ...hdmf_common.v1_8_0.hdmf_common_sparse import CSRMatrix, CSRMatrixData +from ...hdmf_experimental.v0_5_0.hdmf_experimental_experimental import EnumData from ...hdmf_experimental.v0_5_0.hdmf_experimental_resources import ( HERD, - HERDKeys, - HERDFiles, HERDEntities, - HERDObjects, - HERDObjectKeys, HERDEntityKeys, + HERDFiles, + HERDKeys, + HERDObjectKeys, + HERDObjects, ) + metamodel_version = "None" version = "0.5.0"