Closed philtweir closed 2 months ago
For non-defined but required inputs the rendering did not throw an error. Consider the example
import sys import yaml from dewret.tasks import task, run from dewret.renderers.cwl import render @task() def increment(num: int) -> int: return num + 1 result = increment() workflow = run(result) cwl = render(workflow) yaml.dump(cwl, sys.stdout, indent=2)
but instead create (to my understanding incorrect) an output:
class: Workflow cwlVersion: 1.2 inputs: {} outputs: out: label: out outputSource: increment-ecfc9b657ab3a0f2bc96ee9dce5e98e3/out type: int steps: increment-ecfc9b657ab3a0f2bc96ee9dce5e98e3: in: {} out: - out run: increment
Closed by #13
For non-defined but required inputs the rendering did not throw an error. Consider the example
but instead create (to my understanding incorrect) an output: