Skip to content
Snippets Groups Projects
Commit 4b8721ca authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Allow None to certain int parameters

parent 8bcb0046
No related branches found
No related tags found
2 merge requests!50Release 2024.06.03,!43Allow None to certain int parameters
...@@ -30,13 +30,13 @@ class PatchParams(BaseModel): ...@@ -30,13 +30,13 @@ class PatchParams(BaseModel):
focus_metric: str = 'max_sobel' focus_metric: str = 'max_sobel'
rgb_overlay_channels: Union[List[Union[int, None]], None] = None rgb_overlay_channels: Union[List[Union[int, None]], None] = None
rgb_overlay_weights: List[float] = [1.0, 1.0, 1.0] rgb_overlay_weights: List[float] = [1.0, 1.0, 1.0]
pad_to: int = 256 pad_to: Union[int, None] = 256
expanded: bool = False expanded: bool = False
class AnnotatedZStackParams(BaseModel): class AnnotatedZStackParams(BaseModel):
draw_label: bool = False draw_label: bool = False
channel: int = None channel: Union[int, None] = None
class RoiFilterRange(BaseModel): class RoiFilterRange(BaseModel):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment