From b9471f90012f20f77355a85e2be43c77fbf6e45e Mon Sep 17 00:00:00 2001 From: Saskia de Vries Date: Fri, 3 Jan 2025 14:33:30 -0800 Subject: [PATCH 1/2] updates sublists --- .../_generators/templates/organizations.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/aind_data_schema_models/_generators/templates/organizations.txt b/src/aind_data_schema_models/_generators/templates/organizations.txt index 97631ed..3270606 100644 --- a/src/aind_data_schema_models/_generators/templates/organizations.txt +++ b/src/aind_data_schema_models/_generators/templates/organizations.txt @@ -88,6 +88,7 @@ Organization.LENS_MANUFACTURERS = one_of_instance( Organization.FUJINON, Organization.HAMAMATSU, Organization.INFINITY_PHOTO_OPTICAL, + Organization.KOWA, Organization.LEICA, Organization.MITUTUYO, Organization.NAVITAR, @@ -132,7 +133,9 @@ Organization.MANIPULATOR_MANUFACTURERS = one_of_instance([Organization.NEW_SCALE Organization.MONITOR_MANUFACTURERS = one_of_instance([Organization.ASUS, Organization.LG, Organization.OTHER]) -Organization.SPEAKER_MANUFACTURERS = one_of_instance([Organization.TYMPHANY, Organization.ISL, Organization.OTHER]) +Organization.SPEAKER_MANUFACTURERS = one_of_instance( + [Organization.DIGIKEY, Organization.TYMPHANY, Organization.ISL, Organization.OTHER] +) Organization.FUNDERS = one_of_instance( [ From c27cfb26ee097751df753224f90f2f24c8b24526 Mon Sep 17 00:00:00 2001 From: Saskia de Vries Date: Fri, 3 Jan 2025 16:31:32 -0800 Subject: [PATCH 2/2] forgot to run --- src/aind_data_schema_models/organizations.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/aind_data_schema_models/organizations.py b/src/aind_data_schema_models/organizations.py index 9c42157..de4ba3d 100644 --- a/src/aind_data_schema_models/organizations.py +++ b/src/aind_data_schema_models/organizations.py @@ -1042,6 +1042,7 @@ def from_name(cls, name: str): Organization.FUJINON, Organization.HAMAMATSU, Organization.INFINITY_PHOTO_OPTICAL, + Organization.KOWA, Organization.LEICA, Organization.MITUTUYO, Organization.NAVITAR, @@ -1086,7 +1087,9 @@ def from_name(cls, name: str): Organization.MONITOR_MANUFACTURERS = one_of_instance([Organization.ASUS, Organization.LG, Organization.OTHER]) -Organization.SPEAKER_MANUFACTURERS = one_of_instance([Organization.TYMPHANY, Organization.ISL, Organization.OTHER]) +Organization.SPEAKER_MANUFACTURERS = one_of_instance( + [Organization.DIGIKEY, Organization.TYMPHANY, Organization.ISL, Organization.OTHER] +) Organization.FUNDERS = one_of_instance( [