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
e98ca4e4
Commit
e98ca4e4
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Add LoSoTo Duplicate step
parent
a205c384
No related branches found
No related tags found
2 merge requests
!69
Change the name of the pre-calibrated output MS
,
!15
Add LoSoTo Duplicate step
Pipeline
#325
failed
5 years ago
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
steps/LoSoTo.Duplicate.cwl
+48
-0
48 additions, 0 deletions
steps/LoSoTo.Duplicate.cwl
test_jobs/losoto_duplicate.cwl
+7
-0
7 additions, 0 deletions
test_jobs/losoto_duplicate.cwl
with
61 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
e98ca4e4
...
@@ -68,6 +68,12 @@ losoto_abs:
...
@@ -68,6 +68,12 @@ losoto_abs:
script
:
script
:
-
cwl-runner --no-container steps/LoSoTo.Abs.cwl test_jobs/losoto_abs.json
-
cwl-runner --no-container steps/LoSoTo.Abs.cwl test_jobs/losoto_abs.json
losoto_duplicate
:
stage
:
test_steps
allow_failure
:
true
scripts
:
-
cwl-runner --no-container steps/LoSoTo.Duplicate.cwl test_jobs/losoto_duplicate.json
losoto_plot
:
losoto_plot
:
stage
:
test_steps
stage
:
test_steps
allow_failure
:
true
allow_failure
:
true
...
...
This diff is collapsed.
Click to expand it.
steps/LoSoTo.Duplicate.cwl
0 → 100644
+
48
−
0
View file @
e98ca4e4
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.0
id: losoto_duplicate
doc: |
Duplicate a table
requirements:
InlineJavascriptRequirement: {}
InitialWorkDirRequirement:
listing:
- entryname: 'parset.config'
entry: |
[duplicate]
soltab = $(inputs.soltab)
operation = DUPLICATE
$(inputs.soltabOut !== null? 'soltabOut=' + inputs.soltabOut: '')
- entryname: $(inputs.input_h5parm.basename)
entry: $(inputs.input_h5parm)
writable: true
baseCommand: "losoto"
arguments:
- $(inputs.input_h5parm.basename)
- parset.config
hints:
DockerRequirement:
dockerPull: lofareosc/prefactor-ci:master
inputs:
- id: input_h5parm
type: File
- id: soltab
type: string
doc: "Solution table"
- id: soltabOut
type: string?
doc: Output table name. By default choose next available from table type.
outputs:
- id: output_h5parm
type: File
outputBinding:
glob: $(inputs.input_h5parm.basename)
This diff is collapsed.
Click to expand it.
test_jobs/losoto_duplicate.cwl
0 → 100644
+
7
−
0
View file @
e98ca4e4
{
"input_h5parm": {
"class": "File",
"path": "/data/example.h5"
},
"soltab": "sol000/amplitude000"
}
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