Skip to content

Commit

Permalink
source does not extend SegmenterLayer
Browse files Browse the repository at this point in the history
  • Loading branch information
yrkim98 committed Dec 10, 2024
1 parent f2d4cf1 commit 01204bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/allencell_ml_segmenter/main/segmenter_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ class ShapesLayer(SegmenterLayer):


@dataclass
class Source(SegmenterLayer):
class Source:
path: Optional[Path] = None


@dataclass
class ImageLayer(SegmenterLayer):
path: Optional[Path] = None
data: Optional[np.ndarray] = None
source: Source = Source(name="sourcename")
source: Source = Source()
metadata: Optional[dict] = None


Expand Down

0 comments on commit 01204bd

Please sign in to comment.