From 24a6f1104c3a05053931b37db3fb8f3dd1e178b1 Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Mon, 31 May 2021 14:19:34 +0200
Subject: [PATCH] fix gffcompare

---
 gffcompare.wdl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gffcompare.wdl b/gffcompare.wdl
index 8b13547..5c83ba9 100644
--- a/gffcompare.wdl
+++ b/gffcompare.wdl
@@ -91,7 +91,7 @@ task GffCompare {
         else 0
     Int noInputFiles = length(inputGtfFiles)
     Boolean oneFile = (noFilesGtfList + noInputFiles) == 1
-    String annotatedName = if oneFile
+    String annotatedName = if oneFile && defined(referenceAnnotation)
         then "annotated"
         else "combined"
 
-- 
GitLab