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
ee677302
Commit
ee677302
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Add blsmooth and refactored gitlab integration
Former-commit-id:
eb2a987d
parent
42ee506e
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+55
-6
55 additions, 6 deletions
.gitlab-ci.yml
steps/blsmooth.cwl
+87
-0
87 additions, 0 deletions
steps/blsmooth.cwl
test_jobs/blsmooth.json
+6
-0
6 additions, 0 deletions
test_jobs/blsmooth.json
test_jobs/demo_prefactor.json
+3
-3
3 additions, 3 deletions
test_jobs/demo_prefactor.json
with
151 additions
and
9 deletions
.gitlab-ci.yml
+
55
−
6
View file @
ee677302
...
...
@@ -25,24 +25,73 @@ validate_scripts:
script
:
-
for file in `find . -name 'steps/*.cwl'`; do cwltool --validate $file; done
test_steps
:
stage
:
test
average_step_generator
:
stage
:
test
_steps
allow_failure
:
true
script
:
-
cwl-runner steps/DP3.AveragerStepGenerator.cwl test_jobs/averager_step_generator.json
-
!
cwl-runner steps/DP3.AveragerStepGenerator.cwl test_jobs/averager_step_generator_error.json
aoflagger_step_generator
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwl-runner steps/DP3.AOFlaggerStepGenerator.cwl test_jobs/aoflagger_step_generator.json
preflagger_step_generator
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwl-runner steps/DP3.PreflaggerStepGenerator.cwl test_jobs/preflagger_step_generator.json
parset_selector
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwl-runner steps/DP3.ParsetSelector.cwl test_jobs/parset_selector.json
file_selector
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwl-runner steps/FileSelector.cwl test_jobs/file_selector.json
-
!
cwl-runner steps/DP3.AveragerStepGenerator.cwl test_jobs/averager_step_generator_error.json
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH test_workflow/flag_average.cwl --msin=/data/L570745_SB001_uv_first10.MS
NDPPP
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH steps/DPPP.cwl test_jobs/NDPPP.json
aoflagger
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH steps/AOFlagger.cwl test_jobs/aoflagger.json
find_skymodel_cal
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/find_skymodel_cal.cwl test_jobs/find_skymodel_cal.json
interpolate_visibilities
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/interpolate_visibilities.cwl test_jobs/interpolate_visibilities.json
blsmooth
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/blsmooth.cwl test_jobs/blsmooth.json
integration_test
:
stage
:
test
prefactor_calibrator
:
stage
:
integration_
test
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH prefactor_calibrator.cwl test_jobs/integration_test_prefactor_calibrator.json
flag_average
:
stage
:
integration_test
- cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH test_workflow/flag_average.cwl --msin=/data/L570745_SB001_uv_first10.MS
This diff is collapsed.
Click to expand it.
steps/blsmooth.cwl
0 → 100644
+
87
−
0
View file @
ee677302
class: CommandLineTool
cwlVersion: v1.0
id: blsmooth
label: BLsmooth
arguments:
- '-S SMOOTH'
baseCommand:
- BLsmooth.py
inputs:
- id: msin
type: Directory
inputBinding:
position: 1
doc: Input measurement set
- default: 0.2
id: ionfactor
type: float
inputBinding:
position: 0
prefix: '-f'
doc: Gives an indication on how strong is the ionosphere
- default: 0.5
id: bscalefactor
type: float
inputBinding:
position: 0
prefix: '-s'
doc: Gives an indication on how the smoothing varies with
- default: DATA
id: in_column_name
type: string
inputBinding:
position: 0
prefix: '-i'
doc: Column name to smooth
- default: SMOOTHED_DATA
id: out_column
type: string
inputBinding:
position: 0
prefix: '-o'
doc: Output column
- default: false
id: weight
type: boolean
inputBinding:
position: 0
prefix: '-w'
doc: >-
Save the newly computed WEIGHT_SPECTRUM, this action permanently modify
the MS!
- default: false
id: restore
type: boolean
inputBinding:
position: 0
prefix: '-r'
doc: If WEIGHT_SPECTRUM_ORIG exists then restore it before smoothing
- default: false
id: nobackup
type: boolean
inputBinding:
position: 0
prefix: '-b'
doc: Do not backup the old WEIGHT_SPECTRUM in WEIGHT_SPECTRUM_ORIG
- default: false
id: onlyamp
type: boolean
inputBinding:
position: 0
prefix: '-a'
doc: Smooth only amplitudes
outputs:
- id: msout
doc: MS set output
type: Directory
outputBinding:
glob: $(inputs.msin.basename)
requirements:
- class: DockerRequirement
dockerPull: 'prefactor:latest'
- class: InitialWorkDirRequirement
listing:
- entry: $(inputs.msin)
writable: true
- class: InlineJavascriptRequirement
This diff is collapsed.
Click to expand it.
test_jobs/blsmooth.json
0 → 100644
+
6
−
0
View file @
ee677302
{
"msin"
:
{
"class"
:
"Directory"
,
"path"
:
"/data/L570745_SB003_uv_first10.MS"
}
}
This diff is collapsed.
Click to expand it.
test_jobs/demo_prefactor.json
+
3
−
3
View file @
ee677302
...
...
@@ -2,15 +2,15 @@
"msin"
:
[
{
"class"
:
"Directory"
,
"path"
:
"/
home/mmancini/git/prefactor3-cwl/test_
data/L570745_SB003_uv_first10.MS"
"path"
:
"/data/L570745_SB003_uv_first10.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"/
home/mmancini/git/prefactor3-cwl/test_
data/L570745_SB005_uv_first10.MS"
"path"
:
"/data/L570745_SB005_uv_first10.MS"
},
{
"class"
:
"Directory"
,
"path"
:
"/
home/mmancini/git/prefactor3-cwl/test_
data/L570745_SB008_uv_first10.MS"
"path"
:
"/data/L570745_SB008_uv_first10.MS"
}
]
}
...
...
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