From a1f23da47c1bb9e06632a43b50e0f6ea8252813b Mon Sep 17 00:00:00 2001
From: James Petley <james.w.petley@durham.ac.uk>
Date: Tue, 27 Feb 2024 15:03:13 +0000
Subject: [PATCH] Added config to target solve

---
 steps/facet_selfcal.cwl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/steps/facet_selfcal.cwl b/steps/facet_selfcal.cwl
index 1f1a1e4a..c49ee6b3 100644
--- a/steps/facet_selfcal.cwl
+++ b/steps/facet_selfcal.cwl
@@ -69,7 +69,6 @@ requirements:
   - class: InlineJavascriptRequirement
   - class: InitialWorkDirRequirement
     listing:
-      - entry: $(inputs.configfile)
       - entry: $(inputs.msin)
       - entryname: run_selfcal.py
         entry: |
@@ -86,6 +85,7 @@ requirements:
 
           run_selfcal = (f"python3 {selfcal}/facetselfcal.py {msin}"
                          f" --helperscriptspath {selfcal}"
+                         f" --configpath {configfile}"
                          f" --helperscriptspathh5merge {h5merge}")
           if skymodel:
             run_selfcal += f" --skymodel {skymodel}"
-- 
GitLab