From b4204ff33c0b9ca1c89e4e1d609c13ed0c078edc Mon Sep 17 00:00:00 2001 From: Felipe Marques de Almeida Date: Wed, 1 May 2024 08:16:24 +0000 Subject: [PATCH] add .clone() method --- workflows/scrnaseq.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workflows/scrnaseq.nf b/workflows/scrnaseq.nf index 491c08dc..1f8609d0 100644 --- a/workflows/scrnaseq.nf +++ b/workflows/scrnaseq.nf @@ -250,7 +250,7 @@ workflow SCRNASEQ { // data.types: gex, vdj, ab, beam, crispr, cmo // clone to avoid mutating the input - def collected_map_clone = collected_map + def collected_map_clone = collected_map.clone() // generate the expected EMPTY tuple when a data type is not used // needs to have a collected map like that, so every sample from the samplesheet is analysed one at a time,