Source code for ewokscore.tests.examples.tasks.condsumtask
from .sumtask import SumTask
[docs]
class CondSumTask(SumTask, output_names=["too_small"]):
"""Check whether a value is too small"""
[docs]
def run(self):
super().run()
self.outputs.too_small = self.outputs.result < 10