File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -238,8 +238,8 @@ class MotorizedStage(Device):
238238 firmware : Optional [str ] = Field (None , title = "Firmware" )
239239
240240
241- class ImmersionMedia (Enum ):
242- """Immersion media name"""
241+ class ImmersionMedium (Enum ):
242+ """Immersion medium name"""
243243
244244 AIR = "air"
245245 MULTI = "multi"
@@ -262,7 +262,7 @@ class Objective(Device):
262262 device_type : Literal ["Objective" ] = Field ("Objective" , const = True , readOnly = True )
263263 numerical_aperture : Decimal = Field (..., title = "Numerical aperture (in air)" )
264264 magnification : Decimal = Field (..., title = "Magnification" )
265- immersion : ImmersionMedia = Field (..., title = "Immersion" )
265+ immersion : ImmersionMedium = Field (..., title = "Immersion" )
266266 objective_type : Optional [ObjectiveType ] = Field (None , title = "Objective type" )
267267
268268
Original file line number Diff line number Diff line change 1010from pydantic import Field
1111
1212from aind_data_schema .base import AindCoreModel , AindModel , EnumSubset
13- from aind_data_schema .device import Calibration , ImmersionMedia , Maintenance
13+ from aind_data_schema .device import Calibration , ImmersionMedium , Maintenance
1414from aind_data_schema .imaging .tile import AcquisitionTile
1515from aind_data_schema .processing import ProcessName
1616from aind_data_schema .utils .units import SizeUnit
@@ -74,9 +74,9 @@ def from_direction_code(code) -> List[Axis]:
7474
7575
7676class Immersion (AindModel ):
77- """Description of immersion media """
77+ """Description of immersion medium """
7878
79- medium : ImmersionMedia = Field (..., title = "Immersion medium" )
79+ medium : ImmersionMedium = Field (..., title = "Immersion medium" )
8080 refractive_index : Decimal = Field (..., title = "Index of refraction" )
8181
8282
You can’t perform that action at this time.
0 commit comments