From 48c1c32aeb1bfe5551693ad94fe230dd944bc392 Mon Sep 17 00:00:00 2001
From: Marcel Loose <loose@astron.nl>
Date: Fri, 19 Nov 2021 09:32:12 +0000
Subject: [PATCH] Bump CWL Version to v1.2

CWL v1.2 is more explicit about the way that strings in embedded code that contain a dollar sign ($) must be escaped. See https://www.commonwl.org/v1.2/Workflow.html#String_interpolation. It turned out that a few workflow steps contained inline Bash code with improperly escaped variables references. This has been fixed.
---
 lofar-cwl/steps/AOFlagger.cwl                         | 2 +-
 lofar-cwl/steps/Ateamclipper.cwl                      | 2 +-
 lofar-cwl/steps/DP3.AOFlaggerStepGenerator.cwl        | 2 +-
 lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl        | 2 +-
 lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl         | 2 +-
 lofar-cwl/steps/DP3.AveragerStepGenerator.cwl         | 2 +-
 lofar-cwl/steps/DP3.DemixerStepGenerator.cwl          | 2 +-
 lofar-cwl/steps/DP3.EmptyParsetGenerator.cwl          | 2 +-
 lofar-cwl/steps/DP3.Execute.cwl                       | 2 +-
 lofar-cwl/steps/DP3.FilterStepGenerator.cwl           | 2 +-
 lofar-cwl/steps/DP3.GenericStep.cwl                   | 2 +-
 lofar-cwl/steps/DP3.ParsetGenerator.cwl               | 2 +-
 lofar-cwl/steps/DP3.PreflaggerStepGenerator.cwl       | 2 +-
 lofar-cwl/steps/DP3.Selector.cwl                      | 2 +-
 lofar-cwl/steps/DPPP.cwl                              | 2 +-
 lofar-cwl/steps/DirSelector.cwl                       | 2 +-
 lofar-cwl/steps/FileSelector.cwl                      | 2 +-
 lofar-cwl/steps/H5ParmCollector.cwl                   | 2 +-
 lofar-cwl/steps/LoSoTo.Abs.cwl                        | 2 +-
 lofar-cwl/steps/LoSoTo.Clip.cwl                       | 2 +-
 lofar-cwl/steps/LoSoTo.ClockTec.cwl                   | 2 +-
 lofar-cwl/steps/LoSoTo.Duplicate.cwl                  | 2 +-
 lofar-cwl/steps/LoSoTo.Faraday.cwl                    | 2 +-
 lofar-cwl/steps/LoSoTo.Flag.cwl                       | 2 +-
 lofar-cwl/steps/LoSoTo.FlagStation.cwl                | 2 +-
 lofar-cwl/steps/LoSoTo.Flagextend.cwl                 | 2 +-
 lofar-cwl/steps/LoSoTo.Interpolate.cwl                | 2 +-
 lofar-cwl/steps/LoSoTo.Lofarbeam.cwl                  | 2 +-
 lofar-cwl/steps/LoSoTo.Norm.cwl                       | 2 +-
 lofar-cwl/steps/LoSoTo.Plot.cwl                       | 2 +-
 lofar-cwl/steps/LoSoTo.Polalign.cwl                   | 2 +-
 lofar-cwl/steps/LoSoTo.PrefactorBandpass.cwl          | 2 +-
 lofar-cwl/steps/LoSoTo.PrefactorXYoffset.cwl          | 2 +-
 lofar-cwl/steps/LoSoTo.Replicateonaxis.cwl            | 2 +-
 lofar-cwl/steps/LoSoTo.Reset.cwl                      | 2 +-
 lofar-cwl/steps/LoSoTo.Residual.cwl                   | 2 +-
 lofar-cwl/steps/LoSoTo.Reweight.cwl                   | 2 +-
 lofar-cwl/steps/LoSoTo.Smooth.cwl                     | 2 +-
 lofar-cwl/steps/LoSoTo.Splitleak.cwl                  | 2 +-
 lofar-cwl/steps/LoSoTo.Structure.cwl                  | 2 +-
 lofar-cwl/steps/applybeam.cwl                         | 2 +-
 lofar-cwl/steps/applycal.cwl                          | 2 +-
 lofar-cwl/steps/applytarget.cwl                       | 2 +-
 lofar-cwl/steps/average.cwl                           | 2 +-
 lofar-cwl/steps/calib_rot_diag.cwl                    | 2 +-
 lofar-cwl/steps/ddecal.cwl                            | 2 +-
 lofar-cwl/steps/dpppconcat.cwl                        | 2 +-
 lofar-cwl/steps/filter_predict.cwl                    | 2 +-
 lofar-cwl/steps/gaincal.cwl                           | 2 +-
 lofar-cwl/steps/interpolate_visibilities.cwl          | 2 +-
 lofar-cwl/steps/makesourcedb.cwl                      | 2 +-
 lofar-cwl/steps/ms_concat.cwl                         | 8 ++++----
 lofar-cwl/steps/msinfo.cwl                            | 2 +-
 lofar-cwl/steps/predict.cwl                           | 2 +-
 lofar-cwl/steps/wsclean.cwl                           | 2 +-
 myworkflow.cwl                                        | 2 +-
 steps/add_missing_stations.cwl                        | 2 +-
 steps/aoflag.cwl                                      | 8 ++++----
 steps/applybeam.cwl                                   | 2 +-
 steps/blsmooth.cwl                                    | 2 +-
 steps/bulk_rename.cwl                                 | 4 ++--
 steps/check_ateam_separation.cwl                      | 2 +-
 steps/check_filtered_MS_array.cwl                     | 2 +-
 steps/check_unflagged_fraction.cwl                    | 2 +-
 steps/collectlog.cwl                                  | 2 +-
 steps/compare_station_list.cwl                        | 2 +-
 steps/concatenate_files.cwl                           | 2 +-
 steps/createRMh5parm.cwl                              | 2 +-
 steps/create_workflow_input.cwl                       | 2 +-
 steps/directory_listing.cwl                           | 2 +-
 steps/dppp_make_parset_cal.cwl                        | 2 +-
 steps/dppp_make_parset_target.cwl                     | 2 +-
 steps/dppp_prep_cal.cwl                               | 2 +-
 steps/dppp_prep_target.cwl                            | 2 +-
 steps/filter_ms_group.cwl                             | 2 +-
 steps/findRefAnt.cwl                                  | 2 +-
 steps/findRefAnt_join.cwl                             | 2 +-
 steps/find_skymodel_cal.cwl                           | 2 +-
 steps/find_skymodel_target.cwl                        | 2 +-
 steps/get_targetname.cwl                              | 2 +-
 steps/h5parm_pointingname.cwl                         | 2 +-
 steps/h5parmcat.cwl                                   | 2 +-
 steps/identify_bad_antennas.cwl                       | 2 +-
 steps/identify_bad_antennas_join.cwl                  | 2 +-
 steps/merge_array.cwl                                 | 2 +-
 steps/merge_array_files.cwl                           | 2 +-
 steps/plot_Ateamclipper.cwl                           | 2 +-
 steps/plot_unflagged.cwl                              | 2 +-
 steps/read_surl_list.cwl                              | 2 +-
 steps/selectfirstdirectory.cwl                        | 2 +-
 steps/selectfirstfile.cwl                             | 2 +-
 steps/separate_results_directory.cwl                  | 2 +-
 steps/sort_times_into_freqGroups.cwl                  | 2 +-
 steps/stage.cwl                                       | 2 +-
 steps/structure_function.cwl                          | 2 +-
 steps/summary.cwl                                     | 2 +-
 steps/surl_copy.cwl                                   | 2 +-
 steps/transfer_solutions.cwl                          | 2 +-
 steps/untar.cwl                                       | 2 +-
 steps/uvplot.cwl                                      | 2 +-
 subworkflow/apply_calibrate_bp.cwl                    | 2 +-
 subworkflow/apply_calibrate_fr.cwl                    | 2 +-
 subworkflow/apply_calibrate_pa.cwl                    | 2 +-
 subworkflow/apply_calibration.cwl                     | 2 +-
 subworkflow/bandpass.cwl                              | 2 +-
 subworkflow/calib_cal.cwl                             | 2 +-
 subworkflow/calib_targ.cwl                            | 2 +-
 subworkflow/clocktec.cwl                              | 2 +-
 subworkflow/concat.cwl                                | 2 +-
 subworkflow/faraday_rotation.cwl                      | 2 +-
 subworkflow/ionosphere.cwl                            | 2 +-
 subworkflow/losoto_bandpass.cwl                       | 2 +-
 subworkflow/losoto_ion.cwl                            | 2 +-
 subworkflow/ndppp_prep_cal.cwl                        | 2 +-
 subworkflow/ndppp_prep_targ.cwl                       | 2 +-
 subworkflow/pol_align.cwl                             | 2 +-
 subworkflow/predict_calibrate.cwl                     | 2 +-
 subworkflow/prep_target_applycal.cwl                  | 2 +-
 subworkflow/smooth_calibrate.cwl                      | 2 +-
 test_scatter/1st-tool.cwl                             | 2 +-
 test_scatter/cat.cwl                                  | 2 +-
 test_scatter/scatter-workflow.cwl                     | 2 +-
 test_scatter/scattertest.cwl                          | 2 +-
 test_scatter/two_files.cwl                            | 2 +-
 test_workflow/flag_average.cwl                        | 2 +-
 test_workflow/two_steps.cwl                           | 2 +-
 workflows/HBA_calibrator.cwl                          | 2 +-
 workflows/HBA_target.cwl                              | 2 +-
 workflows/dowload_surl_and_create_input_file-json.cwl | 2 +-
 workflows/prefactor_calibrator.cwl                    | 2 +-
 workflows/prefactor_calibrator/bp.cwl                 | 2 +-
 workflows/prefactor_calibrator/fr.cwl                 | 2 +-
 workflows/prefactor_calibrator/ion.cwl                | 2 +-
 workflows/prefactor_calibrator/pa.cwl                 | 2 +-
 workflows/prefactor_calibrator/prep.cwl               | 2 +-
 workflows/prefactor_target.cwl                        | 2 +-
 workflows/prefactor_target/finalize.cwl               | 2 +-
 workflows/prefactor_target/gsmcal.cwl                 | 2 +-
 workflows/prefactor_target/prep.cwl                   | 2 +-
 139 files changed, 146 insertions(+), 146 deletions(-)

diff --git a/lofar-cwl/steps/AOFlagger.cwl b/lofar-cwl/steps/AOFlagger.cwl
index 5be41d5e..bb7b7399 100644
--- a/lofar-cwl/steps/AOFlagger.cwl
+++ b/lofar-cwl/steps/AOFlagger.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: aoflagger
 
 requirements:
diff --git a/lofar-cwl/steps/Ateamclipper.cwl b/lofar-cwl/steps/Ateamclipper.cwl
index e7799b54..a9fad9dc 100755
--- a/lofar-cwl/steps/Ateamclipper.cwl
+++ b/lofar-cwl/steps/Ateamclipper.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: check_ateam_separation
diff --git a/lofar-cwl/steps/DP3.AOFlaggerStepGenerator.cwl b/lofar-cwl/steps/DP3.AOFlaggerStepGenerator.cwl
index a708ec86..863071dc 100755
--- a/lofar-cwl/steps/DP3.AOFlaggerStepGenerator.cwl
+++ b/lofar-cwl/steps/DP3.AOFlaggerStepGenerator.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: aoflagger_step_generator
 
 inputs:
diff --git a/lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl b/lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl
index cf339a9a..48b42aa4 100755
--- a/lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl
+++ b/lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: applybeam_step_generator
 
 inputs:
diff --git a/lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl b/lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
index 2ba76d2a..10b58f0a 100755
--- a/lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
+++ b/lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: applycal_step_generator
 
 inputs:
diff --git a/lofar-cwl/steps/DP3.AveragerStepGenerator.cwl b/lofar-cwl/steps/DP3.AveragerStepGenerator.cwl
index 13f6fb8a..43e37f95 100755
--- a/lofar-cwl/steps/DP3.AveragerStepGenerator.cwl
+++ b/lofar-cwl/steps/DP3.AveragerStepGenerator.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: average_step_generator
 
 inputs:
diff --git a/lofar-cwl/steps/DP3.DemixerStepGenerator.cwl b/lofar-cwl/steps/DP3.DemixerStepGenerator.cwl
index c7b68cd9..56672e50 100755
--- a/lofar-cwl/steps/DP3.DemixerStepGenerator.cwl
+++ b/lofar-cwl/steps/DP3.DemixerStepGenerator.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: demix_step_generator
diff --git a/lofar-cwl/steps/DP3.EmptyParsetGenerator.cwl b/lofar-cwl/steps/DP3.EmptyParsetGenerator.cwl
index 73aedd08..b406a7b5 100755
--- a/lofar-cwl/steps/DP3.EmptyParsetGenerator.cwl
+++ b/lofar-cwl/steps/DP3.EmptyParsetGenerator.cwl
@@ -1,6 +1,6 @@
 #!/usr/bin/env cwl-runner
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 class: CommandLineTool
 id: empty_parset_generator
 baseCommand: [echo, 'steps=[]']
diff --git a/lofar-cwl/steps/DP3.Execute.cwl b/lofar-cwl/steps/DP3.Execute.cwl
index ed3af2da..6c8c471c 100644
--- a/lofar-cwl/steps/DP3.Execute.cwl
+++ b/lofar-cwl/steps/DP3.Execute.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: dp3_execute
 label: DP3.Execute
 $namespaces:
diff --git a/lofar-cwl/steps/DP3.FilterStepGenerator.cwl b/lofar-cwl/steps/DP3.FilterStepGenerator.cwl
index 0b21b047..229dae05 100644
--- a/lofar-cwl/steps/DP3.FilterStepGenerator.cwl
+++ b/lofar-cwl/steps/DP3.FilterStepGenerator.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: dp3-filter-step-generator
diff --git a/lofar-cwl/steps/DP3.GenericStep.cwl b/lofar-cwl/steps/DP3.GenericStep.cwl
index a12bb7f0..2e205b1f 100755
--- a/lofar-cwl/steps/DP3.GenericStep.cwl
+++ b/lofar-cwl/steps/DP3.GenericStep.cwl
@@ -1,6 +1,6 @@
 #!/usr/bin/env cwl-runner
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 class: ExpressionTool
 id: generic_step
 
diff --git a/lofar-cwl/steps/DP3.ParsetGenerator.cwl b/lofar-cwl/steps/DP3.ParsetGenerator.cwl
index 45662760..2c204393 100644
--- a/lofar-cwl/steps/DP3.ParsetGenerator.cwl
+++ b/lofar-cwl/steps/DP3.ParsetGenerator.cwl
@@ -1,6 +1,6 @@
 #!/usr/bin/env cwl-runner
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 class: CommandLineTool
 id: generic_step
 
diff --git a/lofar-cwl/steps/DP3.PreflaggerStepGenerator.cwl b/lofar-cwl/steps/DP3.PreflaggerStepGenerator.cwl
index 94e2113b..76813d56 100755
--- a/lofar-cwl/steps/DP3.PreflaggerStepGenerator.cwl
+++ b/lofar-cwl/steps/DP3.PreflaggerStepGenerator.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: preflag_step_generator
 
 inputs:
diff --git a/lofar-cwl/steps/DP3.Selector.cwl b/lofar-cwl/steps/DP3.Selector.cwl
index 7876f347..5533a462 100755
--- a/lofar-cwl/steps/DP3.Selector.cwl
+++ b/lofar-cwl/steps/DP3.Selector.cwl
@@ -1,5 +1,5 @@
 class: ExpressionTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: selector
 inputs:
   - id: select_a
diff --git a/lofar-cwl/steps/DPPP.cwl b/lofar-cwl/steps/DPPP.cwl
index c543854e..64b97ba8 100755
--- a/lofar-cwl/steps/DPPP.cwl
+++ b/lofar-cwl/steps/DPPP.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: dppp
diff --git a/lofar-cwl/steps/DirSelector.cwl b/lofar-cwl/steps/DirSelector.cwl
index 73a37b12..9fc779ce 100644
--- a/lofar-cwl/steps/DirSelector.cwl
+++ b/lofar-cwl/steps/DirSelector.cwl
@@ -1,5 +1,5 @@
 class: ExpressionTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: dirselector
 inputs:
   - id: inputs
diff --git a/lofar-cwl/steps/FileSelector.cwl b/lofar-cwl/steps/FileSelector.cwl
index 8afb9365..7d39aa1d 100644
--- a/lofar-cwl/steps/FileSelector.cwl
+++ b/lofar-cwl/steps/FileSelector.cwl
@@ -1,5 +1,5 @@
 class: ExpressionTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: fileselector
 inputs:
   - id: inputs
diff --git a/lofar-cwl/steps/H5ParmCollector.cwl b/lofar-cwl/steps/H5ParmCollector.cwl
index 923d9e01..0576951a 100755
--- a/lofar-cwl/steps/H5ParmCollector.cwl
+++ b/lofar-cwl/steps/H5ParmCollector.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
   lofar: https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
diff --git a/lofar-cwl/steps/LoSoTo.Abs.cwl b/lofar-cwl/steps/LoSoTo.Abs.cwl
index c8254164..262a6b84 100755
--- a/lofar-cwl/steps/LoSoTo.Abs.cwl
+++ b/lofar-cwl/steps/LoSoTo.Abs.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_abs
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Clip.cwl b/lofar-cwl/steps/LoSoTo.Clip.cwl
index c929b997..0119ffee 100644
--- a/lofar-cwl/steps/LoSoTo.Clip.cwl
+++ b/lofar-cwl/steps/LoSoTo.Clip.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_clip
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.ClockTec.cwl b/lofar-cwl/steps/LoSoTo.ClockTec.cwl
index 9f19b287..59af8354 100644
--- a/lofar-cwl/steps/LoSoTo.ClockTec.cwl
+++ b/lofar-cwl/steps/LoSoTo.ClockTec.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_clocktec
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Duplicate.cwl b/lofar-cwl/steps/LoSoTo.Duplicate.cwl
index 2c4937ec..326a1856 100644
--- a/lofar-cwl/steps/LoSoTo.Duplicate.cwl
+++ b/lofar-cwl/steps/LoSoTo.Duplicate.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_duplicate
 
 doc: |
diff --git a/lofar-cwl/steps/LoSoTo.Faraday.cwl b/lofar-cwl/steps/LoSoTo.Faraday.cwl
index fb5d2bf1..02b1b1ea 100644
--- a/lofar-cwl/steps/LoSoTo.Faraday.cwl
+++ b/lofar-cwl/steps/LoSoTo.Faraday.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_faraday
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Flag.cwl b/lofar-cwl/steps/LoSoTo.Flag.cwl
index b4c2981a..81b0545b 100644
--- a/lofar-cwl/steps/LoSoTo.Flag.cwl
+++ b/lofar-cwl/steps/LoSoTo.Flag.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_flag
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.FlagStation.cwl b/lofar-cwl/steps/LoSoTo.FlagStation.cwl
index 86479c74..947c8cb8 100644
--- a/lofar-cwl/steps/LoSoTo.FlagStation.cwl
+++ b/lofar-cwl/steps/LoSoTo.FlagStation.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_flagstation
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Flagextend.cwl b/lofar-cwl/steps/LoSoTo.Flagextend.cwl
index 2e34c03a..48e04204 100644
--- a/lofar-cwl/steps/LoSoTo.Flagextend.cwl
+++ b/lofar-cwl/steps/LoSoTo.Flagextend.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_flagextend
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Interpolate.cwl b/lofar-cwl/steps/LoSoTo.Interpolate.cwl
index cbcede11..6377e31e 100644
--- a/lofar-cwl/steps/LoSoTo.Interpolate.cwl
+++ b/lofar-cwl/steps/LoSoTo.Interpolate.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_interpolate
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Lofarbeam.cwl b/lofar-cwl/steps/LoSoTo.Lofarbeam.cwl
index e6b7fa9d..c435c9c1 100644
--- a/lofar-cwl/steps/LoSoTo.Lofarbeam.cwl
+++ b/lofar-cwl/steps/LoSoTo.Lofarbeam.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_lofarbeam
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Norm.cwl b/lofar-cwl/steps/LoSoTo.Norm.cwl
index 4ea38f4f..6f198573 100644
--- a/lofar-cwl/steps/LoSoTo.Norm.cwl
+++ b/lofar-cwl/steps/LoSoTo.Norm.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_abs
 
 doc: |
diff --git a/lofar-cwl/steps/LoSoTo.Plot.cwl b/lofar-cwl/steps/LoSoTo.Plot.cwl
index 1c9d5ba2..5b5ad031 100644
--- a/lofar-cwl/steps/LoSoTo.Plot.cwl
+++ b/lofar-cwl/steps/LoSoTo.Plot.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_plot
 
 doc: |
diff --git a/lofar-cwl/steps/LoSoTo.Polalign.cwl b/lofar-cwl/steps/LoSoTo.Polalign.cwl
index 1d3be1a7..50bf24e4 100755
--- a/lofar-cwl/steps/LoSoTo.Polalign.cwl
+++ b/lofar-cwl/steps/LoSoTo.Polalign.cwl
@@ -1,6 +1,6 @@
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_polalign
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.PrefactorBandpass.cwl b/lofar-cwl/steps/LoSoTo.PrefactorBandpass.cwl
index ac46bdf9..9d9c546e 100644
--- a/lofar-cwl/steps/LoSoTo.PrefactorBandpass.cwl
+++ b/lofar-cwl/steps/LoSoTo.PrefactorBandpass.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/lofar-cwl/steps/LoSoTo.PrefactorXYoffset.cwl b/lofar-cwl/steps/LoSoTo.PrefactorXYoffset.cwl
index ec6e1c14..61fab155 100644
--- a/lofar-cwl/steps/LoSoTo.PrefactorXYoffset.cwl
+++ b/lofar-cwl/steps/LoSoTo.PrefactorXYoffset.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/lofar-cwl/steps/LoSoTo.Replicateonaxis.cwl b/lofar-cwl/steps/LoSoTo.Replicateonaxis.cwl
index fcfd8b85..ba9dc353 100644
--- a/lofar-cwl/steps/LoSoTo.Replicateonaxis.cwl
+++ b/lofar-cwl/steps/LoSoTo.Replicateonaxis.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_replicate_on_axis
 
 doc: |
diff --git a/lofar-cwl/steps/LoSoTo.Reset.cwl b/lofar-cwl/steps/LoSoTo.Reset.cwl
index 57017910..abfb91c6 100644
--- a/lofar-cwl/steps/LoSoTo.Reset.cwl
+++ b/lofar-cwl/steps/LoSoTo.Reset.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_reset
 
 doc: Subtract/divide two tables or a clock/tec/tec3rd/rm from a phase.
diff --git a/lofar-cwl/steps/LoSoTo.Residual.cwl b/lofar-cwl/steps/LoSoTo.Residual.cwl
index 26ae49cd..c18e84f8 100644
--- a/lofar-cwl/steps/LoSoTo.Residual.cwl
+++ b/lofar-cwl/steps/LoSoTo.Residual.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_residual
 
 doc: Subtract/divide two tables or a clock/tec/tec3rd/rm from a phase.
diff --git a/lofar-cwl/steps/LoSoTo.Reweight.cwl b/lofar-cwl/steps/LoSoTo.Reweight.cwl
index 8df7c046..2ec0b2ed 100644
--- a/lofar-cwl/steps/LoSoTo.Reweight.cwl
+++ b/lofar-cwl/steps/LoSoTo.Reweight.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_reweight
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Smooth.cwl b/lofar-cwl/steps/LoSoTo.Smooth.cwl
index cae7da2a..a837101f 100644
--- a/lofar-cwl/steps/LoSoTo.Smooth.cwl
+++ b/lofar-cwl/steps/LoSoTo.Smooth.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_smooth
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Splitleak.cwl b/lofar-cwl/steps/LoSoTo.Splitleak.cwl
index 5e16f93c..c0d692db 100644
--- a/lofar-cwl/steps/LoSoTo.Splitleak.cwl
+++ b/lofar-cwl/steps/LoSoTo.Splitleak.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_splitleak
 
 $namespaces:
diff --git a/lofar-cwl/steps/LoSoTo.Structure.cwl b/lofar-cwl/steps/LoSoTo.Structure.cwl
index 4a54161f..b13a0216 100644
--- a/lofar-cwl/steps/LoSoTo.Structure.cwl
+++ b/lofar-cwl/steps/LoSoTo.Structure.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_structure
 
 $namespaces:
diff --git a/lofar-cwl/steps/applybeam.cwl b/lofar-cwl/steps/applybeam.cwl
index e08f8c9d..3d3fb93b 100644
--- a/lofar-cwl/steps/applybeam.cwl
+++ b/lofar-cwl/steps/applybeam.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: applybeam
diff --git a/lofar-cwl/steps/applycal.cwl b/lofar-cwl/steps/applycal.cwl
index 03067473..00524676 100644
--- a/lofar-cwl/steps/applycal.cwl
+++ b/lofar-cwl/steps/applycal.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: applycal
diff --git a/lofar-cwl/steps/applytarget.cwl b/lofar-cwl/steps/applytarget.cwl
index 027601d7..87214eb0 100644
--- a/lofar-cwl/steps/applytarget.cwl
+++ b/lofar-cwl/steps/applytarget.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: applytarget
diff --git a/lofar-cwl/steps/average.cwl b/lofar-cwl/steps/average.cwl
index 49ed492f..af9cb7ec 100644
--- a/lofar-cwl/steps/average.cwl
+++ b/lofar-cwl/steps/average.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: average
diff --git a/lofar-cwl/steps/calib_rot_diag.cwl b/lofar-cwl/steps/calib_rot_diag.cwl
index fe61197b..62ab77f1 100644
--- a/lofar-cwl/steps/calib_rot_diag.cwl
+++ b/lofar-cwl/steps/calib_rot_diag.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/lofar-cwl/steps/ddecal.cwl b/lofar-cwl/steps/ddecal.cwl
index 09011bba..454afeea 100644
--- a/lofar-cwl/steps/ddecal.cwl
+++ b/lofar-cwl/steps/ddecal.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: calib_rot_diag
 baseCommand: [DP3]
 
diff --git a/lofar-cwl/steps/dpppconcat.cwl b/lofar-cwl/steps/dpppconcat.cwl
index 91e257cd..8d0f288d 100644
--- a/lofar-cwl/steps/dpppconcat.cwl
+++ b/lofar-cwl/steps/dpppconcat.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: dpppconcat
diff --git a/lofar-cwl/steps/filter_predict.cwl b/lofar-cwl/steps/filter_predict.cwl
index 7ce337c5..6d9d0fcf 100644
--- a/lofar-cwl/steps/filter_predict.cwl
+++ b/lofar-cwl/steps/filter_predict.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: predict
diff --git a/lofar-cwl/steps/gaincal.cwl b/lofar-cwl/steps/gaincal.cwl
index f041c924..7560ac71 100644
--- a/lofar-cwl/steps/gaincal.cwl
+++ b/lofar-cwl/steps/gaincal.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/lofar-cwl/steps/interpolate_visibilities.cwl b/lofar-cwl/steps/interpolate_visibilities.cwl
index 9e27870f..8eefafcf 100644
--- a/lofar-cwl/steps/interpolate_visibilities.cwl
+++ b/lofar-cwl/steps/interpolate_visibilities.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: interpolate_visibilities
diff --git a/lofar-cwl/steps/makesourcedb.cwl b/lofar-cwl/steps/makesourcedb.cwl
index e92b2b0d..baaa6ddc 100755
--- a/lofar-cwl/steps/makesourcedb.cwl
+++ b/lofar-cwl/steps/makesourcedb.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: make_sourcedb
diff --git a/lofar-cwl/steps/ms_concat.cwl b/lofar-cwl/steps/ms_concat.cwl
index 5a327a51..de03fa98 100644
--- a/lofar-cwl/steps/ms_concat.cwl
+++ b/lofar-cwl/steps/ms_concat.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: ms_concat
@@ -64,10 +64,10 @@ requirements:
           #!/bin/bash
           set -e
           directories=\$(ls -d out_*)
-          #echo \$directories
+          #echo \${directories}
           mkdir -pv workdir
-          cp -r \$directories workdir/. && cd workdir
-          concat_MS_CWL.py \$1 \$2 \$3 \$4 \$directories \$5
+          cp -r \${directories} workdir/. && cd workdir
+          concat_MS_CWL.py \${1} \${2} \${3} \${4} \${directories} \${5}
   - class: InplaceUpdateRequirement
     inplaceUpdate: true
   - class: InlineJavascriptRequirement
diff --git a/lofar-cwl/steps/msinfo.cwl b/lofar-cwl/steps/msinfo.cwl
index a29ca584..f9b9729b 100644
--- a/lofar-cwl/steps/msinfo.cwl
+++ b/lofar-cwl/steps/msinfo.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: msinfo
 
 requirements:
diff --git a/lofar-cwl/steps/predict.cwl b/lofar-cwl/steps/predict.cwl
index 005156f8..1b28e134 100644
--- a/lofar-cwl/steps/predict.cwl
+++ b/lofar-cwl/steps/predict.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: predict
diff --git a/lofar-cwl/steps/wsclean.cwl b/lofar-cwl/steps/wsclean.cwl
index 67b5dcf0..4ae1432e 100644
--- a/lofar-cwl/steps/wsclean.cwl
+++ b/lofar-cwl/steps/wsclean.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: wsclean
diff --git a/myworkflow.cwl b/myworkflow.cwl
index 90e2d295..96b3e1d1 100755
--- a/myworkflow.cwl
+++ b/myworkflow.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: myworkflow
 label: MyWorkflow
 $namespaces:
diff --git a/steps/add_missing_stations.cwl b/steps/add_missing_stations.cwl
index 9fb3c591..b3834805 100644
--- a/steps/add_missing_stations.cwl
+++ b/steps/add_missing_stations.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/steps/aoflag.cwl b/steps/aoflag.cwl
index 8c7786ad..44c77541 100644
--- a/steps/aoflag.cwl
+++ b/steps/aoflag.cwl
@@ -1,7 +1,7 @@
 #!/usr/bin/env cwl-runner
 
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: aoflagger
 
 hints:
@@ -137,11 +137,11 @@ requirements:
           #!/bin/bash
           set -e
           directories=\$(ls -d out*)
-          echo \$directories
+          echo \${directories}
           mkdir -pv workdir
-          cp -r \$directories workdir/. && cd workdir
+          cp -r \${directories} workdir/. && cd workdir
           concat=out.MS_[0-9*]
-          aoflagger \$1 \$2 \$3 \$4 \$concat
+          aoflagger \${1} \${2} \${3} \${4} \${concat}
 
 stdout: aoflag.log
 stderr: aoflag_err.log
diff --git a/steps/applybeam.cwl b/steps/applybeam.cwl
index e5184c12..930b68b2 100644
--- a/steps/applybeam.cwl
+++ b/steps/applybeam.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: 'sbg:draft-2'
+cwlVersion: v1.2
 id: applybeam
 label: applybeam
 $namespaces:
diff --git a/steps/blsmooth.cwl b/steps/blsmooth.cwl
index 072d088e..7e59447e 100644
--- a/steps/blsmooth.cwl
+++ b/steps/blsmooth.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: blsmooth
 label: BLsmooth
 baseCommand:
diff --git a/steps/bulk_rename.cwl b/steps/bulk_rename.cwl
index 9da2a8dc..c827f267 100644
--- a/steps/bulk_rename.cwl
+++ b/steps/bulk_rename.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: bulk_rename
@@ -33,7 +33,7 @@ requirements:
           FILE_SUFFIX=$(inputs.file_suffix === null ? '' : inputs.file_suffix)
           mkdir tmp
           for i in "\${!FILE_LIST[@]}"; do 
-            cp "\${FILE_LIST[\$i]}" "tmp/\${FILE_PREFIX}_\${i}\${FILE_SUFFIX}"
+            cp "\${FILE_LIST[\${i}]}" "tmp/\${FILE_PREFIX}_\${i}\${FILE_SUFFIX}"
           done
         writable: false
   - class: InlineJavascriptRequirement
diff --git a/steps/check_ateam_separation.cwl b/steps/check_ateam_separation.cwl
index 32908f0e..1f18e3df 100644
--- a/steps/check_ateam_separation.cwl
+++ b/steps/check_ateam_separation.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: check_ateam_separation
 baseCommand:
   - check_Ateam_separation.py
diff --git a/steps/check_filtered_MS_array.cwl b/steps/check_filtered_MS_array.cwl
index 6eac322c..900d1212 100644
--- a/steps/check_filtered_MS_array.cwl
+++ b/steps/check_filtered_MS_array.cwl
@@ -2,7 +2,7 @@ id: check_filtered_MS_array
 label: check_filtered_MS_array
 class: ExpressionTool
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 inputs:
     - id: input
       type: Directory[]
diff --git a/steps/check_unflagged_fraction.cwl b/steps/check_unflagged_fraction.cwl
index 59c6e95d..71a7bea0 100644
--- a/steps/check_unflagged_fraction.cwl
+++ b/steps/check_unflagged_fraction.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: check_unflagged_fraction
diff --git a/steps/collectlog.cwl b/steps/collectlog.cwl
index b7dc32b3..ee46b377 100644
--- a/steps/collectlog.cwl
+++ b/steps/collectlog.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: collectlog
diff --git a/steps/compare_station_list.cwl b/steps/compare_station_list.cwl
index 4d3776bf..97279e08 100644
--- a/steps/compare_station_list.cwl
+++ b/steps/compare_station_list.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: compare_station_list
diff --git a/steps/concatenate_files.cwl b/steps/concatenate_files.cwl
index 3b874498..6054d41a 100644
--- a/steps/concatenate_files.cwl
+++ b/steps/concatenate_files.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: concatfiles
diff --git a/steps/createRMh5parm.cwl b/steps/createRMh5parm.cwl
index a18c99e8..21bbed98 100644
--- a/steps/createRMh5parm.cwl
+++ b/steps/createRMh5parm.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: createRMh5parm
 label: createRMh5parm
 baseCommand:
diff --git a/steps/create_workflow_input.cwl b/steps/create_workflow_input.cwl
index 4acf8f1b..1e511508 100644
--- a/steps/create_workflow_input.cwl
+++ b/steps/create_workflow_input.cwl
@@ -3,7 +3,7 @@ $namespaces:
 id: create_workflow_input
 label: create_workflow_input
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 inputs: 
   - id: msin
     type: Directory[]
diff --git a/steps/directory_listing.cwl b/steps/directory_listing.cwl
index 7c6763bf..cf869b83 100644
--- a/steps/directory_listing.cwl
+++ b/steps/directory_listing.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: directory_listing
diff --git a/steps/dppp_make_parset_cal.cwl b/steps/dppp_make_parset_cal.cwl
index def50a36..5e1dbbf0 100755
--- a/steps/dppp_make_parset_cal.cwl
+++ b/steps/dppp_make_parset_cal.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: make_parset
 label: define_parset
 $namespaces:
diff --git a/steps/dppp_make_parset_target.cwl b/steps/dppp_make_parset_target.cwl
index ba2db4da..b61aae34 100755
--- a/steps/dppp_make_parset_target.cwl
+++ b/steps/dppp_make_parset_target.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: make_parset
 label: define_parset
 $namespaces:
diff --git a/steps/dppp_prep_cal.cwl b/steps/dppp_prep_cal.cwl
index ac6a2348..b6fb9d5a 100755
--- a/steps/dppp_prep_cal.cwl
+++ b/steps/dppp_prep_cal.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: dppp
diff --git a/steps/dppp_prep_target.cwl b/steps/dppp_prep_target.cwl
index b12a3c2b..59c2f962 100755
--- a/steps/dppp_prep_target.cwl
+++ b/steps/dppp_prep_target.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: dppp
diff --git a/steps/filter_ms_group.cwl b/steps/filter_ms_group.cwl
index 2b85071a..c5aff4c4 100644
--- a/steps/filter_ms_group.cwl
+++ b/steps/filter_ms_group.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: filter_ms_group
 baseCommand:
   - python3
diff --git a/steps/findRefAnt.cwl b/steps/findRefAnt.cwl
index 701899ba..2edacaa6 100644
--- a/steps/findRefAnt.cwl
+++ b/steps/findRefAnt.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: dppp
diff --git a/steps/findRefAnt_join.cwl b/steps/findRefAnt_join.cwl
index 734fb891..02e5f12e 100644
--- a/steps/findRefAnt_join.cwl
+++ b/steps/findRefAnt_join.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: findRefAnt_join
diff --git a/steps/find_skymodel_cal.cwl b/steps/find_skymodel_cal.cwl
index 1db45fa7..1a213a82 100644
--- a/steps/find_skymodel_cal.cwl
+++ b/steps/find_skymodel_cal.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: find_skymodel_cal_py
diff --git a/steps/find_skymodel_target.cwl b/steps/find_skymodel_target.cwl
index 6b906f1c..fa74d491 100644
--- a/steps/find_skymodel_target.cwl
+++ b/steps/find_skymodel_target.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: find_skymodel_target_py
diff --git a/steps/get_targetname.cwl b/steps/get_targetname.cwl
index 491bf3fe..ece04259 100644
--- a/steps/get_targetname.cwl
+++ b/steps/get_targetname.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/steps/h5parm_pointingname.cwl b/steps/h5parm_pointingname.cwl
index 06c90242..95e7e515 100644
--- a/steps/h5parm_pointingname.cwl
+++ b/steps/h5parm_pointingname.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/steps/h5parmcat.cwl b/steps/h5parmcat.cwl
index 36b62037..d34a69ae 100644
--- a/steps/h5parmcat.cwl
+++ b/steps/h5parmcat.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/steps/identify_bad_antennas.cwl b/steps/identify_bad_antennas.cwl
index 1f7b6630..5fe2d44a 100644
--- a/steps/identify_bad_antennas.cwl
+++ b/steps/identify_bad_antennas.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: identify_bad_antennas
diff --git a/steps/identify_bad_antennas_join.cwl b/steps/identify_bad_antennas_join.cwl
index dbec4878..f9bc007e 100644
--- a/steps/identify_bad_antennas_join.cwl
+++ b/steps/identify_bad_antennas_join.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: identify_bad_antennas_join
diff --git a/steps/merge_array.cwl b/steps/merge_array.cwl
index 833be080..3a6187db 100644
--- a/steps/merge_array.cwl
+++ b/steps/merge_array.cwl
@@ -2,7 +2,7 @@ id: merge_array
 label: merge_array
 class: ExpressionTool
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 inputs:
     - id: input
       type:
diff --git a/steps/merge_array_files.cwl b/steps/merge_array_files.cwl
index 2ad56843..4e115298 100644
--- a/steps/merge_array_files.cwl
+++ b/steps/merge_array_files.cwl
@@ -2,7 +2,7 @@ id: merge_array_files
 label: merge_array_files
 class: ExpressionTool
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 inputs: 
     - id: input
       type:
diff --git a/steps/plot_Ateamclipper.cwl b/steps/plot_Ateamclipper.cwl
index 188972ed..c7d2da89 100644
--- a/steps/plot_Ateamclipper.cwl
+++ b/steps/plot_Ateamclipper.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: plot_Ateamclipper
diff --git a/steps/plot_unflagged.cwl b/steps/plot_unflagged.cwl
index 015d6ba7..b06a07b6 100644
--- a/steps/plot_unflagged.cwl
+++ b/steps/plot_unflagged.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: plot_unflagged
diff --git a/steps/read_surl_list.cwl b/steps/read_surl_list.cwl
index 43c7a42c..609ca56f 100644
--- a/steps/read_surl_list.cwl
+++ b/steps/read_surl_list.cwl
@@ -1,5 +1,5 @@
 class: ExpressionTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: read_surl_file
 inputs:
   - id: surl_list
diff --git a/steps/selectfirstdirectory.cwl b/steps/selectfirstdirectory.cwl
index 3175f9d6..6587817d 100644
--- a/steps/selectfirstdirectory.cwl
+++ b/steps/selectfirstdirectory.cwl
@@ -2,7 +2,7 @@ id: selectfirstdirectory
 label: selectfirstdirectory
 class: ExpressionTool
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 inputs: 
     - id: input
       type: Directory[]
diff --git a/steps/selectfirstfile.cwl b/steps/selectfirstfile.cwl
index d2a668e7..7a340cbe 100644
--- a/steps/selectfirstfile.cwl
+++ b/steps/selectfirstfile.cwl
@@ -1,5 +1,5 @@
 class: ExpressionTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: select_first_file
 inputs:
   - id: inputs
diff --git a/steps/separate_results_directory.cwl b/steps/separate_results_directory.cwl
index 7bbb37f4..760e4f20 100644
--- a/steps/separate_results_directory.cwl
+++ b/steps/separate_results_directory.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: separate_results_directory
diff --git a/steps/sort_times_into_freqGroups.cwl b/steps/sort_times_into_freqGroups.cwl
index 686dd504..fb0e28d1 100644
--- a/steps/sort_times_into_freqGroups.cwl
+++ b/steps/sort_times_into_freqGroups.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: sort_times_into_freqGroups
diff --git a/steps/stage.cwl b/steps/stage.cwl
index 7520bfdc..419d0125 100644
--- a/steps/stage.cwl
+++ b/steps/stage.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: stage
diff --git a/steps/structure_function.cwl b/steps/structure_function.cwl
index 756129e7..ca6e7429 100644
--- a/steps/structure_function.cwl
+++ b/steps/structure_function.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/steps/summary.cwl b/steps/summary.cwl
index 8a9d9ef1..8cdbaf6d 100644
--- a/steps/summary.cwl
+++ b/steps/summary.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/steps/surl_copy.cwl b/steps/surl_copy.cwl
index 15e45420..e9e447eb 100644
--- a/steps/surl_copy.cwl
+++ b/steps/surl_copy.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: surl_copy
diff --git a/steps/transfer_solutions.cwl b/steps/transfer_solutions.cwl
index 1296467d..fa55fb64 100644
--- a/steps/transfer_solutions.cwl
+++ b/steps/transfer_solutions.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: transfer_solutions
diff --git a/steps/untar.cwl b/steps/untar.cwl
index 132abee0..db1623e9 100644
--- a/steps/untar.cwl
+++ b/steps/untar.cwl
@@ -1,7 +1,7 @@
 id: untar
 label: untar
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 inputs: 
   - id: tar_file
     type: File
diff --git a/steps/uvplot.cwl b/steps/uvplot.cwl
index 05f7fdda..41531750 100644
--- a/steps/uvplot.cwl
+++ b/steps/uvplot.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   lofar: 'https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl'
   sbg: 'https://www.sevenbridges.com/'
diff --git a/subworkflow/apply_calibrate_bp.cwl b/subworkflow/apply_calibrate_bp.cwl
index 98afcf31..113eb874 100644
--- a/subworkflow/apply_calibrate_bp.cwl
+++ b/subworkflow/apply_calibrate_bp.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: apply_calibrate
 label: apply_calibrate
 $namespaces:
diff --git a/subworkflow/apply_calibrate_fr.cwl b/subworkflow/apply_calibrate_fr.cwl
index 1350e1c9..400bac04 100644
--- a/subworkflow/apply_calibrate_fr.cwl
+++ b/subworkflow/apply_calibrate_fr.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: apply_calibrate
 label: apply_calibrate
 $namespaces:
diff --git a/subworkflow/apply_calibrate_pa.cwl b/subworkflow/apply_calibrate_pa.cwl
index 6fb98eb1..abba30f0 100644
--- a/subworkflow/apply_calibrate_pa.cwl
+++ b/subworkflow/apply_calibrate_pa.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: apply_calibrate
 label: apply_calibrate
 $namespaces:
diff --git a/subworkflow/apply_calibration.cwl b/subworkflow/apply_calibration.cwl
index f5ff47d8..c7f66ce5 100644
--- a/subworkflow/apply_calibration.cwl
+++ b/subworkflow/apply_calibration.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: apply_calibration
 label: apply_calibration
 $namespaces:
diff --git a/subworkflow/bandpass.cwl b/subworkflow/bandpass.cwl
index 1d0f2bd0..c7c76759 100644
--- a/subworkflow/bandpass.cwl
+++ b/subworkflow/bandpass.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_bandpass
 label: losoto_bandpass
 $namespaces:
diff --git a/subworkflow/calib_cal.cwl b/subworkflow/calib_cal.cwl
index d2c09a9f..6c6a82a7 100644
--- a/subworkflow/calib_cal.cwl
+++ b/subworkflow/calib_cal.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: calibrate_calibrator
 label: calibrate_calibrator
 $namespaces:
diff --git a/subworkflow/calib_targ.cwl b/subworkflow/calib_targ.cwl
index 9c0caf0c..2fc396c8 100644
--- a/subworkflow/calib_targ.cwl
+++ b/subworkflow/calib_targ.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: calibrate_target
 label: calibrate_target
 $namespaces:
diff --git a/subworkflow/clocktec.cwl b/subworkflow/clocktec.cwl
index 648b6b90..df429abd 100644
--- a/subworkflow/clocktec.cwl
+++ b/subworkflow/clocktec.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_ion
 label: losoto_ion
 $namespaces:
diff --git a/subworkflow/concat.cwl b/subworkflow/concat.cwl
index a343cc51..53175cad 100644
--- a/subworkflow/concat.cwl
+++ b/subworkflow/concat.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: concat
 label: concat
 $namespaces:
diff --git a/subworkflow/faraday_rotation.cwl b/subworkflow/faraday_rotation.cwl
index 350378d4..80392789 100644
--- a/subworkflow/faraday_rotation.cwl
+++ b/subworkflow/faraday_rotation.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: faraday_rotation
 label: faraday_rotation
 $namespaces:
diff --git a/subworkflow/ionosphere.cwl b/subworkflow/ionosphere.cwl
index 8b1b755a..4ed83a10 100644
--- a/subworkflow/ionosphere.cwl
+++ b/subworkflow/ionosphere.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: ionosphere
 label: ionosphere
 $namespaces:
diff --git a/subworkflow/losoto_bandpass.cwl b/subworkflow/losoto_bandpass.cwl
index dba230f6..88c3fcc0 100644
--- a/subworkflow/losoto_bandpass.cwl
+++ b/subworkflow/losoto_bandpass.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_bandpass
 label: losoto_bandpass
 $namespaces:
diff --git a/subworkflow/losoto_ion.cwl b/subworkflow/losoto_ion.cwl
index 408f9754..b74507ba 100644
--- a/subworkflow/losoto_ion.cwl
+++ b/subworkflow/losoto_ion.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: losoto_ion
 label: losoto_ion
 $namespaces:
diff --git a/subworkflow/ndppp_prep_cal.cwl b/subworkflow/ndppp_prep_cal.cwl
index 17b4bc3a..c68dfbeb 100644
--- a/subworkflow/ndppp_prep_cal.cwl
+++ b/subworkflow/ndppp_prep_cal.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: ndppp_prep_cal
 label: ndppp_prep_cal
 $namespaces:
diff --git a/subworkflow/ndppp_prep_targ.cwl b/subworkflow/ndppp_prep_targ.cwl
index 81f6e67d..2ef2c0dc 100644
--- a/subworkflow/ndppp_prep_targ.cwl
+++ b/subworkflow/ndppp_prep_targ.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: ndppp_prep_targ
 label: ndppp_prep_targ
 $namespaces:
diff --git a/subworkflow/pol_align.cwl b/subworkflow/pol_align.cwl
index b354b045..ef359913 100644
--- a/subworkflow/pol_align.cwl
+++ b/subworkflow/pol_align.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: pol_align
 label: PolAlign
 $namespaces:
diff --git a/subworkflow/predict_calibrate.cwl b/subworkflow/predict_calibrate.cwl
index f18c7b4b..660910a9 100644
--- a/subworkflow/predict_calibrate.cwl
+++ b/subworkflow/predict_calibrate.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: predict_calibrate
 label: predict_calibrate
 $namespaces:
diff --git a/subworkflow/prep_target_applycal.cwl b/subworkflow/prep_target_applycal.cwl
index ae613386..3767ba8a 100644
--- a/subworkflow/prep_target_applycal.cwl
+++ b/subworkflow/prep_target_applycal.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: prep_target_applycal
 label: prep_target_applycal
 $namespaces:
diff --git a/subworkflow/smooth_calibrate.cwl b/subworkflow/smooth_calibrate.cwl
index bae17b55..fcefb39a 100644
--- a/subworkflow/smooth_calibrate.cwl
+++ b/subworkflow/smooth_calibrate.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: smooth_calibrate
 label: smooth_calibrate
 $namespaces:
diff --git a/test_scatter/1st-tool.cwl b/test_scatter/1st-tool.cwl
index e1cea47d..454071a1 100644
--- a/test_scatter/1st-tool.cwl
+++ b/test_scatter/1st-tool.cwl
@@ -1,6 +1,6 @@
 #!/usr/bin/env cwl-runner
 
-cwlVersion: v1.1
+cwlVersion: v1.2
 class: CommandLineTool
 baseCommand: echo
 inputs:
diff --git a/test_scatter/cat.cwl b/test_scatter/cat.cwl
index ad364596..9a3f8526 100644
--- a/test_scatter/cat.cwl
+++ b/test_scatter/cat.cwl
@@ -1,5 +1,5 @@
 class: CommandLineTool
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 id: cat
diff --git a/test_scatter/scatter-workflow.cwl b/test_scatter/scatter-workflow.cwl
index 366f9c5a..6c245545 100644
--- a/test_scatter/scatter-workflow.cwl
+++ b/test_scatter/scatter-workflow.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 $namespaces:
   sbg: 'https://www.sevenbridges.com/'
 inputs:
diff --git a/test_scatter/scattertest.cwl b/test_scatter/scattertest.cwl
index debd64a8..d24cfee6 100644
--- a/test_scatter/scattertest.cwl
+++ b/test_scatter/scattertest.cwl
@@ -3,7 +3,7 @@ $namespaces:
 id: scattertest
 label: scattertest
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 inputs: []
 outputs: []
 steps: []
diff --git a/test_scatter/two_files.cwl b/test_scatter/two_files.cwl
index 9234a4e8..21ca38cf 100644
--- a/test_scatter/two_files.cwl
+++ b/test_scatter/two_files.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: two_files
 label: two_files
 $namespaces:
diff --git a/test_workflow/flag_average.cwl b/test_workflow/flag_average.cwl
index 0c9343ca..be741ddb 100644
--- a/test_workflow/flag_average.cwl
+++ b/test_workflow/flag_average.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: test
 label: test
 $namespaces:
diff --git a/test_workflow/two_steps.cwl b/test_workflow/two_steps.cwl
index cc06d7ea..d75e0b9b 100644
--- a/test_workflow/two_steps.cwl
+++ b/test_workflow/two_steps.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: prefactor
 $namespaces:
   sbg: 'https://www.sevenbridges.com'
diff --git a/workflows/HBA_calibrator.cwl b/workflows/HBA_calibrator.cwl
index c305f321..51627faf 100644
--- a/workflows/HBA_calibrator.cwl
+++ b/workflows/HBA_calibrator.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: HBA_calibrator
 label: HBA_calibrator
 $namespaces:
diff --git a/workflows/HBA_target.cwl b/workflows/HBA_target.cwl
index e5615f3f..0afcf048 100644
--- a/workflows/HBA_target.cwl
+++ b/workflows/HBA_target.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: HBA_target
 label: HBA_target
 $namespaces:
diff --git a/workflows/dowload_surl_and_create_input_file-json.cwl b/workflows/dowload_surl_and_create_input_file-json.cwl
index c3490d78..80f579d6 100644
--- a/workflows/dowload_surl_and_create_input_file-json.cwl
+++ b/workflows/dowload_surl_and_create_input_file-json.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: dowload_surl_and_create_input_file_json
 label: dowload_surl_and_create_input_file.json
 
diff --git a/workflows/prefactor_calibrator.cwl b/workflows/prefactor_calibrator.cwl
index ecea6c2f..c2926e32 100644
--- a/workflows/prefactor_calibrator.cwl
+++ b/workflows/prefactor_calibrator.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: prefactor_calibrator
 label: prefactor_calibrator
 $namespaces:
diff --git a/workflows/prefactor_calibrator/bp.cwl b/workflows/prefactor_calibrator/bp.cwl
index ef893763..c552ebd6 100644
--- a/workflows/prefactor_calibrator/bp.cwl
+++ b/workflows/prefactor_calibrator/bp.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: bp
 label: BP
 $namespaces:
diff --git a/workflows/prefactor_calibrator/fr.cwl b/workflows/prefactor_calibrator/fr.cwl
index 6b9323fa..6ea804e9 100644
--- a/workflows/prefactor_calibrator/fr.cwl
+++ b/workflows/prefactor_calibrator/fr.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: fr
 label: FR
 $namespaces:
diff --git a/workflows/prefactor_calibrator/ion.cwl b/workflows/prefactor_calibrator/ion.cwl
index 3df047a4..29ee3d68 100644
--- a/workflows/prefactor_calibrator/ion.cwl
+++ b/workflows/prefactor_calibrator/ion.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: ion
 label: ion
 $namespaces:
diff --git a/workflows/prefactor_calibrator/pa.cwl b/workflows/prefactor_calibrator/pa.cwl
index bf664793..978a974e 100644
--- a/workflows/prefactor_calibrator/pa.cwl
+++ b/workflows/prefactor_calibrator/pa.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: pa
 label: PA
 $namespaces:
diff --git a/workflows/prefactor_calibrator/prep.cwl b/workflows/prefactor_calibrator/prep.cwl
index 1cd92b91..9ae79f97 100644
--- a/workflows/prefactor_calibrator/prep.cwl
+++ b/workflows/prefactor_calibrator/prep.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: prep
 label: prep
 $namespaces:
diff --git a/workflows/prefactor_target.cwl b/workflows/prefactor_target.cwl
index 19dd4510..df95ce18 100644
--- a/workflows/prefactor_target.cwl
+++ b/workflows/prefactor_target.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: prefactor_target
 label: prefactor_target
 $namespaces:
diff --git a/workflows/prefactor_target/finalize.cwl b/workflows/prefactor_target/finalize.cwl
index f34e0ab0..674b511c 100644
--- a/workflows/prefactor_target/finalize.cwl
+++ b/workflows/prefactor_target/finalize.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: finalize
 label: finalize
 $namespaces:
diff --git a/workflows/prefactor_target/gsmcal.cwl b/workflows/prefactor_target/gsmcal.cwl
index 83cac3a8..b73ab15b 100644
--- a/workflows/prefactor_target/gsmcal.cwl
+++ b/workflows/prefactor_target/gsmcal.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: gsmcal
 label: gsmcal
 $namespaces:
diff --git a/workflows/prefactor_target/prep.cwl b/workflows/prefactor_target/prep.cwl
index f150aa9d..c228d4ee 100644
--- a/workflows/prefactor_target/prep.cwl
+++ b/workflows/prefactor_target/prep.cwl
@@ -1,5 +1,5 @@
 class: Workflow
-cwlVersion: v1.1
+cwlVersion: v1.2
 id: prep
 label: prep
 $namespaces:
-- 
GitLab