From a6c39422a9f33b7e17ec5dee7ee6d2b0afd18efc Mon Sep 17 00:00:00 2001
From: alex <alex@tls-tautenburg.de>
Date: Mon, 23 Oct 2023 14:07:49 +0000
Subject: [PATCH] Hotfix/skymodel name

---
 steps/get_targetname.cwl         | 2 +-
 workflows/linc_calibrator/bp.cwl | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/steps/get_targetname.cwl b/steps/get_targetname.cwl
index c727fc18..03006753 100644
--- a/steps/get_targetname.cwl
+++ b/steps/get_targetname.cwl
@@ -23,7 +23,7 @@ arguments:
 
     output = getTargetName(mss)
 
-    targetName = output['targetName'].lstrip().rstrip().replace(' ','_')
+    targetName = output['targetName'].lstrip().rstrip().replace(' ','')
     cwl_output = {"targetName": targetName}
 
     with open('./out.json', 'w') as fp:
diff --git a/workflows/linc_calibrator/bp.cwl b/workflows/linc_calibrator/bp.cwl
index 6f5bdb3d..e766d24e 100644
--- a/workflows/linc_calibrator/bp.cwl
+++ b/workflows/linc_calibrator/bp.cwl
@@ -301,7 +301,7 @@ steps:
       - id: plotFlag
         default: true
       - id: prefix
-        default: bbandpass_transfer_
+        default: bandpass_transfer_
     out:
       - id: output_plots
       - id: logfile
-- 
GitLab