Commit fba545b 1 parent 0a75afa commit fba545b Copy full SHA for fba545b
File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ process {{ component_name_underscore|upper }} {
33
33
{%- if inputs % }
34
34
// TODO nf-core: Update the information obtained from bio.tools and make sure that it is correct
35
35
{%- for input_name, ontologies in inputs. items() % }
36
- {{ ' tuple val(meta), path(' + input_name + ' )' if has_meta else ' path ' + input_name }}
36
+ {% set meta_index = loop. index|string if not loop. first else ' ' % }
37
+ {{ ' tuple val(meta' + meta_index + ' ), path(' + input_name + ' )' if has_meta else ' path ' + input_name }}
37
38
{%- endfor % }
38
39
{%- else -% }
39
40
{% if not_empty_template -% }
Original file line number Diff line number Diff line change 29
29
{% if inputs -%}
30
30
{% for input_name, ontologies in inputs.items() -%}
31
31
{% if has_meta %}
32
- - - meta :
32
+ - - meta{{ loop.index|string if not loop.first else '' }} :
33
33
type : map
34
34
description : |
35
35
Groovy Map containing sample information
You can’t perform that action at this time.
0 commit comments