outputs:
- id: result
label: result
type: File
outputBinding:
glob: _stdout
outputEval: _stderr
loadContents: false
The outputEval: _stderr is nonsensical here
From
hello_janis.py
from typing import List, Optional, Dict, Any
from janis_core import *
from janis_core.types.common_data_types import File
Optionalexample_Dev = CommandToolBuilder(
tool="OptionalExample",
base_command=["echo", "Hello, World!"],
inputs=[],
outputs=[
ToolOutput(
tag="result",
output_type=File(),
selector=Stdout(subtype=File(), optional=False),
doc=OutputDocumentation(doc=None),
)
],
container="ubuntu:latest",
version="DEV",
)
if __name__ == "__main__":
Optionalexample_Dev().translate("cwl")