Quick question regarding the YAML format for outpu...
# hackathon-oct-2025-versions-topics-adoption
b
Quick question regarding the YAML format for outputs and topics Why is there an extra nested list between the output/topic name and the tuple elements?
Copy code
output:
  html:
  - - meta:
        type: "map"
        description: "Sample metadata"
    - '*.html':
        type: "file"
        description: "FastQC report"
I would expect it to be like this:
Copy code
output:
  html:
    - meta:
        type: "map"
        description: "Sample metadata"
    - '*.html':
        type: "file"
        description: "FastQC report"
m
I'd say only @mashehu and @Júlia Mir know why
j
it’s to mimic the structure of the channels
Copy code
tuple val(a), emit: ch_a
would be
Copy code
output:
    ch_a:
        - - a: ...
while
Copy code
val(a), emit: ch_a
would be
Copy code
output:
    ch_a:
        - a: ...