Skip to content
Snippets Groups Projects
Commit 9ff6441c authored by alex's avatar alex
Browse files

Merge branch 'bugfixes_element_beam' into 'master'

bugfixes + only apply element beam for target

See merge request eosc/prefactor3-cwl!25

Former-commit-id: 3a7cf9fa [formerly 00d4d1ab]
Former-commit-id: ad50c8c3
Former-commit-id: 60ca0ff5
parents d38b58a1 dfee230e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......@@ -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 = {}
......
......@@ -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'
......
......@@ -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
......
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment