From 6c9f4bbbc36f8ef5dda604689d0e9f0c89aa7ad2 Mon Sep 17 00:00:00 2001
From: Frits Sweijen <tikk3r@noreply.github.com>
Date: Mon, 23 Oct 2023 16:15:11 +0200
Subject: [PATCH] Don't trigger LBA selfcal for HBA

---
 workflows/linc_target/gsmcal.cwl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/workflows/linc_target/gsmcal.cwl b/workflows/linc_target/gsmcal.cwl
index e0d81bf3..25075e8e 100644
--- a/workflows/linc_target/gsmcal.cwl
+++ b/workflows/linc_target/gsmcal.cwl
@@ -388,7 +388,7 @@ steps:
     out:
       - id: output
     run: ../../steps/merge_array.cwl
-    label: merge_array_full
+    label: merge_array_concat_full
 
   - id: aoflag
     in:
@@ -534,7 +534,8 @@ steps:
       - id: outsolutions
     run: ./selfcal_targ.cwl
     label: selfcal_target
-    when: $(inputs.execute)
+    when: $(inputs.execute && inputs.selfcal_strategy == 'LBA')
+
   - id: h5parm_collector
     in:
       - id: h5parmFiles
-- 
GitLab