Skip to content

Commit

Permalink
first pass labware defs
Browse files Browse the repository at this point in the history
  • Loading branch information
caila-marashaj committed Aug 8, 2024
1 parent 79143a8 commit 77921e9
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,33 @@ class DisplayCategory(str, Enum):
other = "other"


class CircleArea(BaseModel):
radius: float


class RectangleArea(BaseModel):
length: float
width: float


class Hemisphere(BaseModel):
radius: float
depth: float


CrossSectionShape = Union[CircleArea, RectangleArea]


class CrossSection(BaseModel):
shape: CrossSectionShape
height: float


class InnerLabwareGeometry(BaseModel):
cross_sections: List[CrossSection]
hemisphere: Optional[Hemisphere]


class LabwareRole(str, Enum):
labware = "labware"
fixture = "fixture"
Expand Down

0 comments on commit 77921e9

Please sign in to comment.