From 023ba4c781cad2a5fcc8585eb24744410d722028 Mon Sep 17 00:00:00 2001 From: mauraisa Date: Wed, 7 Aug 2024 11:25:30 -0700 Subject: [PATCH] Fix dynamic metadata file names in ANNOTATION_TSV_TO_CSV --- modules/skyline.nf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/skyline.nf b/modules/skyline.nf index 9a62545..3a64669 100644 --- a/modules/skyline.nf +++ b/modules/skyline.nf @@ -138,8 +138,8 @@ process ANNOTATION_TSV_TO_CSV { path replicate_metadata output: - path("metadata.annotations.csv"), emit: annotation_csv - path("metadata.definitions.bat"), emit: annotation_definitions + path("${replicate_metadata.baseName}.annotations.csv"), emit: annotation_csv + path("${replicate_metadata.baseName}.definitions.bat"), emit: annotation_definitions shell: """ @@ -148,7 +148,7 @@ process ANNOTATION_TSV_TO_CSV { stub: """ - touch metadata.definitions.bat metadata.annotations.csv + touch ${replicate_metadata.baseName}.definitions.bat ${replicate_metadata.baseName}.annotations.csv """ }