Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LINC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
LINC
Commits
bff890cf
Commit
bff890cf
authored
5 years ago
by
alex
Browse files
Options
Downloads
Patches
Plain Diff
add concat_ms
Former-commit-id:
b8393300
parent
7282e5f1
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lofar-cwl/steps/ms_concat.cwl
+10
-11
10 additions, 11 deletions
lofar-cwl/steps/ms_concat.cwl
workflows/prefactor_calibrator.cwl
+4
-0
4 additions, 0 deletions
workflows/prefactor_calibrator.cwl
workflows/prefactor_calibrator/prep.cwl
+35
-8
35 additions, 8 deletions
workflows/prefactor_calibrator/prep.cwl
with
49 additions
and
19 deletions
lofar-cwl/steps/ms_concat.cwl
+
10
−
11
View file @
bff890cf
...
@@ -3,14 +3,13 @@ cwlVersion: v1.0
...
@@ -3,14 +3,13 @@ cwlVersion: v1.0
$namespaces:
$namespaces:
sbg: 'https://www.sevenbridges.com/'
sbg: 'https://www.sevenbridges.com/'
id: ms_concat
id: ms_concat
baseCommand:
baseCommand:
- concat_MS.py
- python3
- /usr/local/bin/concat_MS_CWL.py
inputs:
inputs:
- id: min_length
- default: 50
id: min_length
type: int?
type: int?
default: 50
inputBinding:
inputBinding:
position: 0
position: 0
prefix: '--min_length'
prefix: '--min_length'
...
@@ -35,25 +34,25 @@ inputs:
...
@@ -35,25 +34,25 @@ inputs:
position: 2
position: 2
outputs:
outputs:
- id: concat_meta_ms
- id: concat_meta_ms
type: Directory[]
type:
'
Directory[]
'
outputBinding:
outputBinding:
glob:
>
glob:
|
$(inputs.msout)_[0-9*]
$(inputs.msout)_[0-9*]
- id: concat_additional_ms
- id: concat_additional_ms
type: Directory[]
type:
'
Directory[]
'
outputBinding:
outputBinding:
glob: $(inputs.msout)_*_CONCAT
glob: $(inputs.msout)_*_CONCAT
- id: ms_outs
- id: ms_outs
type: Directory[]
type:
'
Directory[]
'
outputBinding:
outputBinding:
outputEval: $(inputs.msin)
outputEval: $(inputs.msin)
label: ms_concat
label: ms_concat
requirements:
requirements:
- class: ShellCommandRequirement
- class: ShellCommandRequirement
- class: DockerRequirement
- class: DockerRequirement
dockerPull: lofareosc/lofar-pipeline-ci:latest
dockerPull: 'lofareosc/prefactor:HBAcalibrator'
- class: InlineJavascriptRequirement
- class: InitialWorkDirRequirement
- class: InitialWorkDirRequirement
listing:
listing:
- entry: $(inputs.msin)
- entry: $(inputs.msin)
writable: true
writable: true
- class: InlineJavascriptRequirement
This diff is collapsed.
Click to expand it.
workflows/prefactor_calibrator.cwl
+
4
−
0
View file @
bff890cf
...
@@ -266,6 +266,10 @@ steps:
...
@@ -266,6 +266,10 @@ steps:
source: do_smooth
source: do_smooth
- id: max_separation_arcmin
- id: max_separation_arcmin
source: max_separation_arcmin
source: max_separation_arcmin
- id: min_length
source: min_length
- id: overhead
source: overhead
- id: min_separation
- id: min_separation
source: min_separation
source: min_separation
- id: A-Team_skymodel
- id: A-Team_skymodel
...
...
This diff is collapsed.
Click to expand it.
workflows/prefactor_calibrator/prep.cwl
+
35
−
8
View file @
bff890cf
...
@@ -66,32 +66,40 @@ inputs:
...
@@ -66,32 +66,40 @@ inputs:
type: boolean
type: boolean
'sbg:x': -1000
'sbg:x': -1000
'sbg:y': 500
'sbg:y': 500
- id: min_
separation
- id: min_
length
type: int?
type: int?
'sbg:x': -1000
'sbg:x': -1000
'sbg:y': 600
'sbg:y': 600
- id:
max_separation_arcmin
- id:
overhead
type: float?
type: float?
'sbg:x': -1000
'sbg:x': -1000
'sbg:y': 700
'sbg:y': 700
- id: min_separation
type: int?
'sbg:x': -1000
'sbg:y': 800
- id: max_separation_arcmin
type: float?
'sbg:x': -1000
'sbg:y': 900
- id: calibrator_path_skymodel
- id: calibrator_path_skymodel
type: Directory?
type: Directory?
'sbg:x': -1000
'sbg:x': -1000
'sbg:y':
8
00
'sbg:y':
10
00
- id: A-Team_skymodel
- id: A-Team_skymodel
type: File?
type: File?
'sbg:x': -1000
'sbg:x': -1000
'sbg:y':
9
00
'sbg:y':
11
00
- id: elevation
- id: elevation
type: string
type: string
default: 0deg..20deg
default: 0deg..20deg
'sbg:x': -1000
'sbg:x': -1000
'sbg:y': 1
0
00
'sbg:y': 1
2
00
- id: amplmin
- id: amplmin
type: float
type: float
default: 1.e-30
default: 1.e-30
'sbg:x': -1000
'sbg:x': -1000
'sbg:y': 1
1
00
'sbg:y': 1
3
00
outputs:
outputs:
- id: check_Ateam_separation.png
- id: check_Ateam_separation.png
outputSource:
outputSource:
...
@@ -113,7 +121,7 @@ outputs:
...
@@ -113,7 +121,7 @@ outputs:
'sbg:y': -100
'sbg:y': -100
- id: msout
- id: msout
outputSource:
outputSource:
-
ndppp_prep_
ca
l
/msout
-
ms_con
ca
t
/ms
_
out
s
type: 'Directory[]'
type: 'Directory[]'
'sbg:x': 1000
'sbg:x': 1000
'sbg:y': 0
'sbg:y': 0
...
@@ -225,18 +233,37 @@ steps:
...
@@ -225,18 +233,37 @@ steps:
- id: find_skymodel_cal
- id: find_skymodel_cal
in:
in:
- id: msin
- id: msin
source: msin
source:
- msin
- id: skymodels
- id: skymodels
source: calibrator_path_skymodel
source: calibrator_path_skymodel
- id: max_separation_arcmin
- id: max_separation_arcmin
source: max_separation_arcmin
source: max_separation_arcmin
out:
out:
- id: output_models
- id: output_models
- id: model_name
- id: logfile
- 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
'sbg:y': 500
'sbg:y': 500
- id: ms_concat
in:
- id: min_length
source: min_length
- id: overhead
source: overhead
- id: msin
source:
- ndppp_prep_cal/msout
out:
- id: concat_meta_ms
- id: concat_additional_ms
- id: ms_outs
run: ../../lofar-cwl/steps/ms_concat.cwl
label: ms_concat
'sbg:x': 300
'sbg:y': 0
requirements:
requirements:
- class: SubworkflowFeatureRequirement
- class: SubworkflowFeatureRequirement
- class: ScatterFeatureRequirement
- class: ScatterFeatureRequirement
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment