Skip to content
Snippets Groups Projects
Commit 7d069346 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Integrate change

Former-commit-id: 0dbfc43c
parents c86af636 7c4068e1
No related branches found
No related tags found
No related merge requests found
...@@ -39,6 +39,6 @@ outputs: ...@@ -39,6 +39,6 @@ outputs:
label: check_Ateam_separation label: check_Ateam_separation
hints: hints:
- class: DockerRequirement - class: DockerRequirement
dockerPull: lofareosc/prefactor dockerPull: lofareosc/prefactor:HBAcalibrator
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
stdout: Ateam_separation.log stdout: Ateam_separation.log
...@@ -10,6 +10,7 @@ inputs: ...@@ -10,6 +10,7 @@ inputs:
type: type:
- File - File
- string - string
default: '/data/skymodels/Ateam_LBA_CC.skymodel'
inputBinding: inputBinding:
position: 0 position: 0
prefix: in= prefix: in=
...@@ -50,7 +51,7 @@ outputs: ...@@ -50,7 +51,7 @@ outputs:
label: make_sourcedb_ateam label: make_sourcedb_ateam
hints: hints:
- class: DockerRequirement - class: DockerRequirement
dockerPull: 'lofareosc/prefactor:latest' dockerPull: 'lofareosc/prefactor:HBAcalibrator'
stdout: make_sourcedb_ateam.log stdout: make_sourcedb_ateam.log
requirements: requirements:
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
...@@ -82,7 +82,7 @@ outputs: ...@@ -82,7 +82,7 @@ outputs:
glob: $(inputs.msin.basename) glob: $(inputs.msin.basename)
hints: hints:
- class: DockerRequirement - class: DockerRequirement
dockerPull: lofareosc/prefactor-ci:master dockerPull: lofareosc/prefactor:HBAcalibrator-ci:master
requirements: requirements:
- class: InitialWorkDirRequirement - class: InitialWorkDirRequirement
listing: listing:
......
...@@ -39,6 +39,6 @@ outputs: ...@@ -39,6 +39,6 @@ outputs:
label: check_Ateam_separation label: check_Ateam_separation
hints: hints:
- class: DockerRequirement - class: DockerRequirement
dockerPull: lofareosc/prefactor dockerPull: lofareosc/prefactor:HBAcalibrator
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
stdout: Ateam_separation.log stdout: Ateam_separation.log
...@@ -12,9 +12,13 @@ inputs: ...@@ -12,9 +12,13 @@ inputs:
inputBinding: inputBinding:
position: 0 position: 0
- id: skymodels - id: skymodels
<<<<<<< HEAD
type: type:
- Directory? - Directory?
- File? - File?
=======
type: Directory?
>>>>>>> 648aff693fcd8267a3f707ad8fc9609715cddaa2
doc: Directory containing the sky models doc: Directory containing the sky models
- id: skymodels_extension - id: skymodels_extension
type: string? type: string?
...@@ -46,9 +50,9 @@ arguments: ...@@ -46,9 +50,9 @@ arguments:
skymodels = skymodels["path"] skymodels = skymodels["path"]
output = {} output = {}
if extension != 'null': if extension != 'null':
output = find_skymodel(mss, skymodels, './', extension) output = find_skymodel(mss, skymodels, extension)
else: else:
output = find_skymodel(mss, skymodels, './') output = find_skymodel(mss, skymodels)
skymodel_path = output['SkymodelCal'] skymodel_path = output['SkymodelCal']
skymodel_name = output['SkymodelName'] skymodel_name = output['SkymodelName']
...@@ -77,4 +81,8 @@ requirements: ...@@ -77,4 +81,8 @@ requirements:
hints: hints:
DockerRequirement: DockerRequirement:
<<<<<<< HEAD
dockerPull: lofareosc/prefactor:latest dockerPull: lofareosc/prefactor:latest
=======
dockerPull: lofareosc/prefactor-ci:master
>>>>>>> 648aff693fcd8267a3f707ad8fc9609715cddaa2
...@@ -160,17 +160,15 @@ inputs: ...@@ -160,17 +160,15 @@ inputs:
'sbg:y': 1200 'sbg:y': 1200
- id: max_separation_arcmin - id: max_separation_arcmin
type: float? type: float?
default: 1 default: 1.0
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 1300 'sbg:y': 1300
- id: calibrator_path_skymodel - id: calibrator_path_skymodel
type: string? type: Directory?
default: /data/skymodels
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 1400 'sbg:y': 1400
- id: A-Team_skymodel - id: A-Team_skymodel
type: string? type: File?
default: /data/skymodels/Ateam_LBA_CC.skymodel
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 1500 'sbg:y': 1500
- id: cal_solutions - id: cal_solutions
...@@ -320,4 +318,3 @@ steps: ...@@ -320,4 +318,3 @@ steps:
'sbg:y': 0 'sbg:y': 0
requirements: requirements:
- class: SubworkflowFeatureRequirement - class: SubworkflowFeatureRequirement
- class: ScatterFeatureRequirement
...@@ -160,17 +160,15 @@ inputs: ...@@ -160,17 +160,15 @@ inputs:
'sbg:y': 1200 'sbg:y': 1200
- id: max_separation_arcmin - id: max_separation_arcmin
type: float? type: float?
default: 1 default: 1.0
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 1300 'sbg:y': 1300
- id: calibrator_path_skymodel - id: calibrator_path_skymodel
type: string? type: Directory?
default: /data/skymodels
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 1400 'sbg:y': 1400
- id: A-Team_skymodel - id: A-Team_skymodel
type: string? type: File?
default: /data/skymodels/Ateam_LBA_CC.skymodel
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 1500 'sbg:y': 1500
- id: cal_solutions - id: cal_solutions
......
...@@ -70,22 +70,28 @@ inputs: ...@@ -70,22 +70,28 @@ inputs:
type: int? type: int?
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 600 'sbg:y': 600
- id: A-Team_skymodel - id: max_separation_arcmin
type: string? type: float?
default: /data/skymodels/Ateam_LBA_CC.skymodel
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 700 'sbg:y': 700
- id: calibrator_path_skymodel
type: Directory?
'sbg:x': -1000
'sbg:y': 800
- id: A-Team_skymodel
type: File?
'sbg:x': -1000
'sbg:y': 900
- id: elevation - id: elevation
type: string type: string
default: '0deg..20deg' default: 0deg..20deg
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 800 'sbg:y': 1000
- id: amplmin - id: amplmin
type: float type: float
default: 1e-30 default: 1.e-30
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 800 'sbg:y': 1100
outputs: outputs:
- id: check_Ateam_separation.png - id: check_Ateam_separation.png
outputSource: outputSource:
...@@ -128,10 +134,12 @@ steps: ...@@ -128,10 +134,12 @@ steps:
in: in:
- id: baselines_to_flag - id: baselines_to_flag
default: [] default: []
source: flag_baselines source:
- id: ntimechunk - flag_baselines
default: 10 - id: elevation_to_flag
source: max_dppp_threads source: elevation
- id: min_amplitude_to_flag
source: amplmin
- id: memoryperc - id: memoryperc
default: 20 default: 20
source: memoryperc source: memoryperc
...@@ -143,7 +151,8 @@ steps: ...@@ -143,7 +151,8 @@ steps:
source: demix source: demix
- id: msin - id: msin
linkMerge: merge_flattened linkMerge: merge_flattened
source: msin source:
- msin
- id: msin_baseline - id: msin_baseline
default: '*' default: '*'
source: filter_baselines source: filter_baselines
...@@ -166,12 +175,12 @@ steps: ...@@ -166,12 +175,12 @@ steps:
source: process_baselines_cal source: process_baselines_cal
- id: target_source - id: target_source
source: demix_target source: demix_target
- id: ntimechunk
default: 10
source: max_dppp_threads
- id: subtract_sources - id: subtract_sources
source: demix_sources source:
- id: elevation_to_flag - demix_sources
source: elevation
- id: min_amplitude_to_flag
source: amplmin
out: out:
- id: msout - id: msout
- id: logfile - id: logfile
...@@ -207,6 +216,18 @@ steps: ...@@ -207,6 +216,18 @@ steps:
label: make_sourcedb_ateam label: make_sourcedb_ateam
'sbg:x': -500 'sbg:x': -500
'sbg:y': 300 'sbg:y': 300
- id: find_skymodel_cal
in:
- id: msin
source: msin
- id: skymodels
source: calibrator_path_skymodel
out:
- id: output_models
run: ../../steps/find_skymodel_cal.cwl
label: find_skymodel_cal
'sbg:x': -500
'sbg:y': 500
requirements: requirements:
- class: SubworkflowFeatureRequirement - class: SubworkflowFeatureRequirement
- class: ScatterFeatureRequirement - class: ScatterFeatureRequirement
\ No newline at end of file
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