We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 92e8f43 + 4706c95 commit 5449618Copy full SHA for 5449618
bioimageio/core/proc_ops.py
@@ -73,6 +73,9 @@ def required_measures(self) -> Collection[Measure]:
73
def get_output_shape(self, input_shape: PerAxis[int]) -> PerAxis[int]: ...
74
75
def __call__(self, sample: Union[Sample, SampleBlock]) -> None:
76
+ if self.input not in sample.members:
77
+ return
78
+
79
input_tensor = sample.members[self.input]
80
output_tensor = self._apply(input_tensor, sample.stat)
81
0 commit comments