From 746f3d4dd5a0399a90d6186f91c02a1eae7a3aa9 Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Wed, 7 Oct 2020 10:17:26 +0200
Subject: [PATCH] Add convenience utility to format paths

---
 lofar-cwl/steps/utils.js | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lofar-cwl/steps/utils.js b/lofar-cwl/steps/utils.js
index d58c1eec..711c00ab 100644
--- a/lofar-cwl/steps/utils.js
+++ b/lofar-cwl/steps/utils.js
@@ -22,3 +22,9 @@ function get_losoto_config(step_name) {
     }
     return par
 }
+
+function concatenate_path(object_list){
+    object_list.forEach(function (x, index, arr) {arr[index] = x.path;});
+    return '[' + object_list.join(',') + ']'
+    
+}
\ No newline at end of file
-- 
GitLab