diff --git a/src/allencell_ml_segmenter/main/segmenter_layer.py b/src/allencell_ml_segmenter/main/segmenter_layer.py index 4245872f..0f40ee89 100644 --- a/src/allencell_ml_segmenter/main/segmenter_layer.py +++ b/src/allencell_ml_segmenter/main/segmenter_layer.py @@ -15,7 +15,7 @@ class ShapesLayer(SegmenterLayer): @dataclass -class Source(SegmenterLayer): +class Source: path: Optional[Path] = None @@ -23,7 +23,7 @@ class Source(SegmenterLayer): class ImageLayer(SegmenterLayer): path: Optional[Path] = None data: Optional[np.ndarray] = None - source: Source = Source(name="sourcename") + source: Source = Source() metadata: Optional[dict] = None