From 9e58aa0ed5a0d3fa025bb3e96985bb2ce017c346 Mon Sep 17 00:00:00 2001 From: Kyle O'Connell Date: Tue, 2 Apr 2024 18:57:57 -0400 Subject: [PATCH] changed path to val for unused parts of channels so that it doesnt throw the not valid path error --- modules/local/initial_submission/main_genbank.nf | 2 +- modules/local/initial_submission/main_sra.nf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/local/initial_submission/main_genbank.nf b/modules/local/initial_submission/main_genbank.nf index 9b9f4bac..06622f0d 100644 --- a/modules/local/initial_submission/main_genbank.nf +++ b/modules/local/initial_submission/main_genbank.nf @@ -14,7 +14,7 @@ process SUBMISSION_GENBANK { 'cdcgov/seqsender-dev' : 'cdcgov/seqsender-dev' }" input: - tuple val(meta), path(validated_meta_path), path(fasta_path), path(fastq_1), path(fastq_2), path(annotations_path) + tuple val(meta), path(validated_meta_path), path(fasta_path), val(fastq_1), val(fastq_2), path(annotations_path) path submission_config // define the command line arguments based on the value of params.submission_test_or_prod, params.send_submission_email diff --git a/modules/local/initial_submission/main_sra.nf b/modules/local/initial_submission/main_sra.nf index e2079929..89d22e6d 100644 --- a/modules/local/initial_submission/main_sra.nf +++ b/modules/local/initial_submission/main_sra.nf @@ -14,7 +14,7 @@ process SUBMISSION_SRA { 'cdcgov/seqsender-dev' : 'cdcgov/seqsender-dev' }" input: - tuple val(meta), path(validated_meta_path), path(fasta_path), path(fastq_1), path(fastq_2) + tuple val(meta), path(validated_meta_path), val(fasta_path), path(fastq_1), path(fastq_2) path submission_config // define the command line arguments based on the value of params.submission_test_or_prod