Skip to content

Commit 82004ee

Browse files
committed
Fix Cellpose task signature
1 parent b63547f commit 82004ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fractal_tasks_core/tasks/cellpose_segmentation.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def cellpose_segmentation(
175175
level: int,
176176
channel: CellposeChannel1InputModel,
177177
channel2: CellposeChannel2InputModel = Field(
178-
default_factory=CellposeChannel2InputModel()
178+
default_factory=CellposeChannel2InputModel
179179
),
180180
input_ROI_table: str = "FOV_ROI_table",
181181
output_ROI_table: Optional[str] = None,
@@ -188,7 +188,7 @@ def cellpose_segmentation(
188188
relabeling: bool = True,
189189
use_masks: bool = True,
190190
advanced_cellpose_model_params: CellposeModelParams = Field(
191-
default_factory=CellposeModelParams()
191+
default_factory=CellposeModelParams
192192
),
193193
overwrite: bool = True,
194194
) -> None:

0 commit comments

Comments
 (0)