Skip to content
Snippets Groups Projects
Commit 8f69f442 authored by alex's avatar alex
Browse files

add logfile, max_separation_arcmin

parent 8bbb1830
No related branches found
No related tags found
2 merge requests!69Change the name of the pre-calibrated output MS,!20Merge request HBA_calibrator to master
Pipeline #1117 failed
...@@ -15,11 +15,7 @@ inputs: ...@@ -15,11 +15,7 @@ inputs:
type: type:
- Directory? - Directory?
- File? - File?
<<<<<<< HEAD
doc: Directory containing the sky models
=======
doc: Directory or file containing the sky models doc: Directory or file containing the sky models
>>>>>>> 58858c575a22ca21b06d1284dbcf4634e3bf9276
- id: skymodels_extension - id: skymodels_extension
type: string? type: string?
doc: path extension of the sky models doc: path extension of the sky models
...@@ -80,13 +76,15 @@ outputs: ...@@ -80,13 +76,15 @@ outputs:
loadContents: true loadContents: true
glob: 'out.json' glob: 'out.json'
outputEval: $(JSON.parse(self[0].contents).skymodel_name) outputEval: $(JSON.parse(self[0].contents).skymodel_name)
- id: logfile
type: File?
outputBinding:
glob: find_skymodel_cal.log
requirements: requirements:
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
hints: hints:
DockerRequirement: DockerRequirement:
<<<<<<< HEAD
dockerPull: lofareosc/prefactor:master
=======
dockerPull: lofareosc/prefactor:HBAcalibrator dockerPull: lofareosc/prefactor:HBAcalibrator
>>>>>>> 58858c575a22ca21b06d1284dbcf4634e3bf9276 stdout: find_skymodel_cal.log
\ No newline at end of file
...@@ -264,6 +264,8 @@ steps: ...@@ -264,6 +264,8 @@ steps:
- demix_sources - demix_sources
- id: do_smooth - id: do_smooth
source: do_smooth source: do_smooth
- id: max_separation_arcmin
source: max_separation_arcmin
- id: min_separation - id: min_separation
source: min_separation source: min_separation
- id: A-Team_skymodel - id: A-Team_skymodel
......
...@@ -129,6 +129,12 @@ outputs: ...@@ -129,6 +129,12 @@ outputs:
type: 'File[]' type: 'File[]'
'sbg:x': 1000 'sbg:x': 1000
'sbg:y': 200 'sbg:y': 200
- id: find_skymodel_cal.log
outputSource:
- find_skymodel_cal/logfile
type: 'File[]?'
'sbg:x': 1000
'sbg:y': 300
steps: steps:
- id: ndppp_prep_cal - id: ndppp_prep_cal
in: in:
...@@ -222,8 +228,11 @@ steps: ...@@ -222,8 +228,11 @@ steps:
source: msin source: msin
- id: skymodels - id: skymodels
source: calibrator_path_skymodel source: calibrator_path_skymodel
- id: max_separation_arcmin
source: max_separation_arcmin
out: out:
- id: output_models - id: output_models
- id: logfile
run: ../../steps/find_skymodel_cal.cwl run: ../../steps/find_skymodel_cal.cwl
label: find_skymodel_cal label: find_skymodel_cal
'sbg:x': -500 'sbg:x': -500
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment