diff --git a/lofar-cwl/steps/makesourcedb.cwl b/lofar-cwl/steps/makesourcedb.cwl index 97b23e5f5e9cc7d16c11bec60c29dc9ff0ca32c1..521981fa54ed3909c732f1112c9fb3816777b754 100755 --- a/lofar-cwl/steps/makesourcedb.cwl +++ b/lofar-cwl/steps/makesourcedb.cwl @@ -10,11 +10,12 @@ inputs: type: - File - string - default: '/data/skymodels/Ateam_LBA_CC.skymodel' + default: '$PREFACTOR_DATA_ROOT/skymodels/Ateam_LBA_CC.skymodel' inputBinding: position: 0 prefix: in= separate: false + shellQuote: false - default: Ateam.sourcedb id: output_file_name type: string? @@ -23,6 +24,7 @@ inputs: prefix: out= separate: false valueFrom: $(inputs.output_file_name) + shellQuote: false - default: blob id: outtype type: string? @@ -30,13 +32,15 @@ inputs: position: 2 prefix: outtype= separate: false - - default: < + shellQuote: false + - default: '"<"' id: format type: string? inputBinding: position: 3 prefix: format= separate: false + shellQuote: false - default: make_sourcedb.log id: logname type: string? @@ -58,3 +62,4 @@ hints: stdout: $(inputs.logname) requirements: - class: InlineJavascriptRequirement + - class: ShellCommandRequirement \ No newline at end of file diff --git a/steps/find_skymodel_cal.cwl b/steps/find_skymodel_cal.cwl index 98c665d5adc0ccb56351ecb9d0dc957478b4836c..e5ad659adf3b0cac71d1247bf32c018df6c93186 100644 --- a/steps/find_skymodel_cal.cwl +++ b/steps/find_skymodel_cal.cwl @@ -71,7 +71,7 @@ requirements: max_separation_arcmin = 1.0 if max_separation_arcmin is None else max_separation_arcmin extension = "$(inputs.skymodels_extension)" if skymodels is None: - skymodels = "/data/skymodels" + skymodels = os.path.expandvars("$PREFACTOR_DATA_ROOT/skymodels") else: skymodels = skymodels["path"] output = {} diff --git a/steps/transfer_solutions.cwl b/steps/transfer_solutions.cwl index e92ba2e468cc0cd4d35da32b24009cc0a0428122..65c53c38ecbba0571375672e7e211368b14730ff 100644 --- a/steps/transfer_solutions.cwl +++ b/steps/transfer_solutions.cwl @@ -17,7 +17,7 @@ inputs: type: - File? - string? - default: '/data/solutions/3C48.h5' + default: '$PREFACTOR_DATA_ROOT/solutions/3C48.h5' inputBinding: position: 0 prefix: '--refh5parm' diff --git a/subworkflow/prep_target_applycal.cwl b/subworkflow/prep_target_applycal.cwl index e3968609efdafd6e652bf9da367a96a29e02267f..040369920b72fbd5c472c93555fa2532d0b9075d 100644 --- a/subworkflow/prep_target_applycal.cwl +++ b/subworkflow/prep_target_applycal.cwl @@ -131,7 +131,7 @@ steps: - id: invert default: true - id: beammode - default: default + default: element out: - id: augmented_steps run: ../lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl diff --git a/subworkflow/smooth_calibrate.cwl b/subworkflow/smooth_calibrate.cwl index 29fb52a9f70da8ba5f7b873f61a8b9f3c4d850ed..8995c3b085b287a47dfb7cbe892c854bf2bb1366 100644 --- a/subworkflow/smooth_calibrate.cwl +++ b/subworkflow/smooth_calibrate.cwl @@ -65,7 +65,7 @@ steps: label: smooth_corrected scatter: - msin - scatterMethod: flat_crossproduct +# scatterMethod: flat_crossproduct 'sbg:x': -394 'sbg:y': -29 - id: calib_cal diff --git a/workflows/prefactor_target/finalize.cwl b/workflows/prefactor_target/finalize.cwl index 8543d90c5056dcd1b70cf07c58e95181295861c0..fb5429cbc89838440c5c2656457214900a594442 100644 --- a/workflows/prefactor_target/finalize.cwl +++ b/workflows/prefactor_target/finalize.cwl @@ -140,7 +140,7 @@ steps: scatter: - msin - msout_name - scatterMethod: flat_crossproduct + scatterMethod: dotproduct 'sbg:x': 400 'sbg:y': 0 - id: average @@ -171,6 +171,8 @@ steps: label: average scatter: - msin + - msout_name + scatterMethod: dotproduct 'sbg:x': 600 'sbg:y': -200 - id: wsclean