Skip to content

Commit

Permalink
fix positional input in template
Browse files Browse the repository at this point in the history
  • Loading branch information
sateeshperi committed Dec 26, 2023
1 parent 50d56f6 commit 5419aad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions nf_core/module-template/tests/main.nf.test
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ nextflow_process {
"""
// TODO nf-core: define inputs of the process here. Example:
{% if has_meta %}
input = [
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
]
{%- else %}
input = file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
input[0] = file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
{%- endif %}
"""
}
Expand All @@ -58,12 +58,12 @@ nextflow_process {
"""
// TODO nf-core: define inputs of the process here. Example:
{% if has_meta %}
input = [
input[0] = [
[ id:'test', single_end:false ], // meta map
file(params.test_data['sarscov2']['illumina']['test_paired_end_bam'], checkIfExists: true)
]
{%- else %}
input = file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
input[0] = file(params.test_data['sarscov2']['illumina']['test_single_end_bam'], checkIfExists: true)
{%- endif %}
"""
}
Expand Down

0 comments on commit 5419aad

Please sign in to comment.