Skip to content

Commit ac8d949

Browse files
remove deprecated items and comments
1 parent d682b67 commit ac8d949

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

db/cellstar_db/models.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,6 @@ class SingleMeshSegmentationData(TypedDict):
324324

325325
class ShapePrimitiveKind(str, Enum):
326326
sphere = "sphere"
327-
tube = "tube"
328327
cylinder = "cylinder"
329328
box = "box"
330329
ellipsoid = "ellipsoid"
@@ -335,8 +334,6 @@ class ShapePrimitiveBase(TypedDict):
335334
# NOTE: to be able to refer to it in annotations
336335
id: int
337336
kind: ShapePrimitiveKind
338-
# NOTE: color in annotations
339-
340337

341338
class RotationParameters(TypedDict):
342339
axis: tuple[float, float, float]
@@ -502,7 +499,6 @@ class ShapePrimitiveInputData(BaseModel):
502499
EllipsoidInputParams,
503500
CylinderInputParams,
504501
BoxInputParams,
505-
SphereInputParams,
506502
ShapePrimitiveInputParams,
507503
]
508504

@@ -511,7 +507,7 @@ class GeometricSegmentationInputData(BaseModel):
511507
# provide id here as optional
512508
segmentation_id: Optional[str]
513509
# maps timeframe index to list of ShapePrimitiveInputData
514-
shape_primitives_input: dict[int, list[ShapePrimitiveInputData]]
510+
shape_primitives_input: dict[str, list[ShapePrimitiveInputData]]
515511
time_units: Optional[str]
516512

517513

0 commit comments

Comments
 (0)