From 3eadb4f77cd45cc3c0e3f5c604b948c00cb8d46d Mon Sep 17 00:00:00 2001 From: afombravo Date: Sun, 19 Jan 2025 22:32:08 +0000 Subject: [PATCH] I changed the test data to 2FAST2Q repo data, NOT NF-CORE test data, just as a way to check if it is working. The test data I was using from NF-core has the wrong input file format. --- modules/nf-core/fast2q/main.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nf-core/fast2q/main.nf b/modules/nf-core/fast2q/main.nf index d64ed807355..be47a20ecb0 100644 --- a/modules/nf-core/fast2q/main.nf +++ b/modules/nf-core/fast2q/main.nf @@ -22,7 +22,7 @@ process FAST2Q { script: def args = task.ext.args ?: '' def input_file = "--s ${fastq}" ?: '' - def library_file = library ? "--g ${library}" : '' + def library_file = (library instanceof Path && library.exists()) ? "--g ${library}" : '' """ mkdir -p ./2FAST2Q_output