Skip to content
Snippets Groups Projects
Commit 0010aae0 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Merge branch 'LoSoTo-splitleak' into 'master'

Add splitleak

See merge request eosc/lofar-cwl!13

Former-commit-id: 0ad26a99
Former-commit-id: a630e6e8
parents 1f028cb4 61269452
No related branches found
No related tags found
No related merge requests found
......@@ -179,6 +179,12 @@ losoto_residual:
script:
- cwl-runner --no-container steps/LoSoTo.Residual.cwl test_jobs/losoto_residual.json
losoto_splitleak:
stage: test_steps
allow_failure: true
script:
- cwl-runner --no-container steps/LoSoTo.Splitleak.cwl test_jobs/losoto_splitleak.json
losoto_polalign:
stage: test_steps
allow_failure: true
......
#!/usr/bin/env cwl-runner
class: CommandLineTool
cwlVersion: v1.0
id: losoto_splitleak
$namespaces:
lofar: https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
doc: Duplicate a table
requirements:
InlineJavascriptRequirement:
expressionLib:
- { $include: utils.js}
InitialWorkDirRequirement:
listing:
- entryname: 'parset.config'
entry: $(get_losoto_config('SPLITLEAK').join('\n'))
- entryname: $(inputs.input_h5parm.basename)
entry: $(inputs.input_h5parm)
writable: true
baseCommand: "losoto"
arguments:
- $(inputs.input_h5parm.basename)
- parset.config
hints:
DockerRequirement:
dockerPull: lofareosc/lofar-pipeline-ci:latest
inputs:
- id: input_h5parm
type: File
format: lofar:#H5Parm
- id: soltab
type: string
doc: "Solution table"
- id: soltabOutG
type: string?
doc: Output table name (diagonal component). By default choose next available from table type.
- id: soltabOutD
type: string?
doc: Output table name (leakage component). By default choose next available from table type.
outputs:
- id: output_h5parm
type: File
format: lofar:#H5Parm
outputBinding:
glob: $(inputs.input_h5parm.basename)
$schema:
- https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
{
"input_h5parm": {"class": "File", "path": "/data/example.h5", "format": "lofar:#H5Parm"},
"soltab": "sol000/amplitude000"
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment