Skip to content
GitLab
Explore
Sign in
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
db6ae005
Commit
db6ae005
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Add predict step test
Former-commit-id:
3e61c709
parent
63d27676
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
steps/predict.cwl
+15
-14
15 additions, 14 deletions
steps/predict.cwl
test_jobs/predict.json
+10
-0
10 additions, 0 deletions
test_jobs/predict.json
with
31 additions
and
14 deletions
.gitlab-ci.yml
+
6
−
0
View file @
db6ae005
...
...
@@ -94,6 +94,12 @@ ddecal:
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/ddecal.cwl test_jobs/ddecal.json
predict
:
stage
:
test_steps
allow_failure
:
true
script
:
-
cwltool --no-container --preserve-environment LD_LIBRARY_PATH --preserve-environment PATH --preserve-environment PYTHONPATH steps/predict.cwl test_jobs/predict.json
prefactor_calibrator
:
stage
:
integration_test
script
:
...
...
This diff is collapsed.
Click to expand it.
steps/predict.cwl
+
15
−
14
View file @
db6ae005
...
...
@@ -7,6 +7,11 @@ baseCommand: [DPPP]
requirements:
InlineJavascriptRequirement: {}
InitialWorkDirRequirement:
listing:
- entry: $(inputs.msin)
writable: true
hints:
DockerRequirement:
...
...
@@ -16,16 +21,17 @@ arguments:
- steps=[predict]
- predict.beammode=array_factor
- predict.usechannelfreq=False
- msout=.
inputs:
- id: msin
type: Directory
?
type: Directory
doc: Input Measurement Set
inputBinding:
prefix: msin=
separate: false
- id: msin_datacolumn
type: string
default:
SMOOTHED_
DATA
default: DATA
doc: Input data Column
inputBinding:
prefix: msin.datacolumn=
...
...
@@ -33,16 +39,17 @@ inputs:
- id: msout_datacolumn
type: string
default: MODEL_DATA
- id: source_db
type:
"
[File, Directory]
"
- id: source
s
_db
type: [File, Directory]
inputBinding:
prefix: predict.sourcedb=
separate: false
- id: s
kymodel
- id: s
ources
type: string[]
default: null
inputBinding:
prefix: predict.sources=
valueFrom: [$(self)]
valueFrom:
"
[$(self)]
"
separate: false
itemSeparator: ','
- id: usebeammodel
...
...
@@ -50,17 +57,11 @@ inputs:
default: false
inputBinding:
prefix: predict.usebeammodel=True
- id: msout_name
type: string
doc: Output Measurement Set
default: out.MS
inputBinding:
prefix: msout=
separate: false
outputs:
- id: msout
doc: Output Measurement Set
type: Directory
outputBinding:
glob: $(inputs.ms
out_name=="."?inputs.msin:inputs.msout_
name)
glob: $(inputs.ms
in.base
name)
This diff is collapsed.
Click to expand it.
test_jobs/predict.json
0 → 100644
+
10
−
0
View file @
db6ae005
{
"msin"
:
{
"class"
:
"Directory"
,
"path"
:
"/data/L570745_SB001_uv_first10.MS"
},
"sources_db"
:
{
"class"
:
"File"
,
"path"
:
"/data/A-Team_lowres.sourcedb"
}
}
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