Skip to content

Commit

Permalink
make channel_names NotEmpty
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnBe committed Apr 12, 2024
1 parent a505821 commit 0142e18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioimageio/spec/model/v0_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def unit(self):
class ChannelAxis(AxisBase):
type: Literal["channel"] = "channel"
id: NonBatchAxisId = AxisId("channel")
channel_names: List[Identifier]
channel_names: NotEmpty[List[Identifier]]

@property
def size(self) -> int:
Expand Down

0 comments on commit 0142e18

Please sign in to comment.