From b8c363c9fed1b28cf14738eb0ad675f8d63383d1 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Thu, 14 Nov 2024 12:10:07 -0600 Subject: [PATCH] chore: Lock down arity in fastqscreen --- .../fastqscreen/fastqscreen/fastqscreen-fastqscreen.diff | 2 +- modules/nf-core/fastqscreen/fastqscreen/main.nf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nf-core/fastqscreen/fastqscreen/fastqscreen-fastqscreen.diff b/modules/nf-core/fastqscreen/fastqscreen/fastqscreen-fastqscreen.diff index ad5b6fe..df84f5a 100644 --- a/modules/nf-core/fastqscreen/fastqscreen/fastqscreen-fastqscreen.diff +++ b/modules/nf-core/fastqscreen/fastqscreen/fastqscreen-fastqscreen.diff @@ -37,7 +37,7 @@ Changes in 'fastqscreen/fastqscreen/main.nf': - tuple val(meta), path(reads) // .fastq files - path database + // NOTE for meta 2 and database [[database_name, database_notes], database_path] -+ tuple val(meta), path(reads), val(meta2), path(database) ++ tuple val(meta), path(reads, arity: '1..2'), val(meta2), path(database, arity: '1') output: tuple val(meta), path("*.txt") , emit: txt diff --git a/modules/nf-core/fastqscreen/fastqscreen/main.nf b/modules/nf-core/fastqscreen/fastqscreen/main.nf index c0f98b9..fff1414 100644 --- a/modules/nf-core/fastqscreen/fastqscreen/main.nf +++ b/modules/nf-core/fastqscreen/fastqscreen/main.nf @@ -9,7 +9,7 @@ process FASTQSCREEN_FASTQSCREEN { input: // NOTE for meta 2 and database [[database_name, database_notes], database_path] - tuple val(meta), path(reads), val(meta2), path(database) + tuple val(meta), path(reads, arity: '1..2'), val(meta2), path(database, arity: '1') output: tuple val(meta), path("*.txt") , emit: txt