From 799267aa610cb50cb4d34c58337a8e66eb81fda1 Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Fri, 4 Oct 2024 11:20:43 -0700 Subject: [PATCH] chore: version bump for schemas (#1094) * chore: version bump for schemas * tests: example updates --- examples/aibs_smartspim_procedures.json | 2 +- examples/ophys_procedures.json | 2 +- examples/procedures.json | 2 +- examples/processing.json | 2 +- examples/quality_control.json | 2 +- src/aind_data_schema/core/procedures.py | 2 +- src/aind_data_schema/core/processing.py | 2 +- src/aind_data_schema/core/quality_control.py | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/aibs_smartspim_procedures.json b/examples/aibs_smartspim_procedures.json index f8e1e8237..48bc54d71 100644 --- a/examples/aibs_smartspim_procedures.json +++ b/examples/aibs_smartspim_procedures.json @@ -1,6 +1,6 @@ { "describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/procedures.py", - "schema_version": "1.0.1", + "schema_version": "1.1.0", "subject_id": "651286", "subject_procedures": [ { diff --git a/examples/ophys_procedures.json b/examples/ophys_procedures.json index 92ce40060..36039e737 100644 --- a/examples/ophys_procedures.json +++ b/examples/ophys_procedures.json @@ -1,6 +1,6 @@ { "describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/procedures.py", - "schema_version": "1.0.1", + "schema_version": "1.1.0", "subject_id": "625100", "subject_procedures": [ { diff --git a/examples/procedures.json b/examples/procedures.json index 666c51578..503e179dd 100644 --- a/examples/procedures.json +++ b/examples/procedures.json @@ -1,6 +1,6 @@ { "describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/procedures.py", - "schema_version": "1.0.1", + "schema_version": "1.1.0", "subject_id": "625100", "subject_procedures": [ { diff --git a/examples/processing.json b/examples/processing.json index 75cb8a97d..774b4dbe0 100644 --- a/examples/processing.json +++ b/examples/processing.json @@ -1,6 +1,6 @@ { "describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/processing.py", - "schema_version": "1.0.1", + "schema_version": "1.1.0", "processing_pipeline": { "data_processes": [ { diff --git a/examples/quality_control.json b/examples/quality_control.json index 4da238178..3a82b2efa 100644 --- a/examples/quality_control.json +++ b/examples/quality_control.json @@ -1,6 +1,6 @@ { "describedBy": "https://raw.githubusercontent.com/AllenNeuralDynamics/aind-data-schema/main/src/aind_data_schema/core/quality_control.py", - "schema_version": "1.0.1", + "schema_version": "1.1.0", "evaluations": [ { "modality": { diff --git a/src/aind_data_schema/core/procedures.py b/src/aind_data_schema/core/procedures.py index ef162f3d6..1c32a3b35 100644 --- a/src/aind_data_schema/core/procedures.py +++ b/src/aind_data_schema/core/procedures.py @@ -649,7 +649,7 @@ class Procedures(AindCoreModel): _DESCRIBED_BY_URL = AindCoreModel._DESCRIBED_BY_BASE_URL.default + "aind_data_schema/core/procedures.py" describedBy: str = Field(_DESCRIBED_BY_URL, json_schema_extra={"const": _DESCRIBED_BY_URL}) - schema_version: Literal["1.0.1"] = Field("1.0.1") + schema_version: Literal["1.1.0"] = Field("1.1.0") subject_id: str = Field( ..., description="Unique identifier for the subject. If this is not a Allen LAS ID, indicate this in the Notes.", diff --git a/src/aind_data_schema/core/processing.py b/src/aind_data_schema/core/processing.py index 1a6f6235c..4f571e479 100644 --- a/src/aind_data_schema/core/processing.py +++ b/src/aind_data_schema/core/processing.py @@ -124,7 +124,7 @@ class Processing(AindCoreModel): _DESCRIBED_BY_URL: str = AindCoreModel._DESCRIBED_BY_BASE_URL.default + "aind_data_schema/core/processing.py" describedBy: str = Field(_DESCRIBED_BY_URL, json_schema_extra={"const": _DESCRIBED_BY_URL}) - schema_version: Literal["1.0.1"] = Field("1.0.1") + schema_version: Literal["1.1.0"] = Field("1.1.0") processing_pipeline: PipelineProcess = Field( ..., description="Pipeline used to process data", title="Processing Pipeline" diff --git a/src/aind_data_schema/core/quality_control.py b/src/aind_data_schema/core/quality_control.py index d3d1b7976..3ba9580fc 100644 --- a/src/aind_data_schema/core/quality_control.py +++ b/src/aind_data_schema/core/quality_control.py @@ -131,7 +131,7 @@ class QualityControl(AindCoreModel): _DESCRIBED_BY_URL = AindCoreModel._DESCRIBED_BY_BASE_URL.default + "aind_data_schema/core/quality_control.py" describedBy: str = Field(_DESCRIBED_BY_URL, json_schema_extra={"const": _DESCRIBED_BY_URL}) - schema_version: Literal["1.0.1"] = Field("1.0.1") + schema_version: Literal["1.1.0"] = Field("1.1.0") evaluations: List[QCEvaluation] = Field(..., title="Evaluations") notes: Optional[str] = Field(default=None, title="Notes")