From 68d7365134604c45e161e96cc9e5dfb8ea83f5d0 Mon Sep 17 00:00:00 2001 From: M Bernt Date: Sun, 17 Dec 2023 18:30:25 +0100 Subject: [PATCH] use is_of_type instead of ext str comparison --- tools/cutadapt/cutadapt.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/cutadapt/cutadapt.xml b/tools/cutadapt/cutadapt.xml index f15a36df2ef..bc5fe47f3bd 100644 --- a/tools/cutadapt/cutadapt.xml +++ b/tools/cutadapt/cutadapt.xml @@ -39,7 +39,7 @@ #set read1 = re.sub('[^\w\-\s]', '_', str($library.input_1.element_identifier)) #end if -#if $input_1.ext.startswith("fastq"): +#if $input_1.is_of_type("fastq"): #set ext = ".fq" #else #set ext = ".fa"