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
01ed1197
Commit
01ed1197
authored
5 years ago
by
Mattia Mancini
Browse files
Options
Downloads
Patches
Plain Diff
Fix renaming
parent
606ea2e4
No related branches found
No related tags found
2 merge requests
!69
Change the name of the pre-calibrated output MS
,
!4
Fix toil interop
Pipeline
#202
failed
5 years ago
Stage: validate_cwl_scripts
Stage: test_steps
Stage: integration_test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
steps/DP3.PreflaggerStepGenerator.cwl
+2
-2
2 additions, 2 deletions
steps/DP3.PreflaggerStepGenerator.cwl
steps/DP3.Selector.cwl
+24
-0
24 additions, 0 deletions
steps/DP3.Selector.cwl
subworkflow/ndppp_prep_cal.cwl
+37
-32
37 additions, 32 deletions
subworkflow/ndppp_prep_cal.cwl
with
63 additions
and
34 deletions
steps/DP3.PreflaggerStepGenerator.cwl
+
2
−
2
View file @
01ed1197
...
...
@@ -5,7 +5,7 @@ cwlVersion: v1.0
id: preflag_step_generator
inputs:
- id:
input_parset
- id:
steps
type: Any[]?
default: []
- id: step_name
...
...
@@ -182,7 +182,7 @@ steps:
- id: step_id
source: step_name
- id: steps
source:
input_parset
source:
steps
- id: parameters
valueFrom: $(inputs)
- id: count.save
...
...
This diff is collapsed.
Click to expand it.
steps/DP3.
Parset
Selector.cwl
→
steps/DP3.Selector.cwl
+
24
−
0
View file @
01ed1197
class: ExpressionTool
cwlVersion: v1.0
id:
parset
selector
id: selector
inputs:
- id: select_a
type: boolean
doc: 'if true selects
parset_a, files_a
if false selects
parset_b files_b
'
- id: a_
argument
s
doc: 'if true selects
a_steps
if false selects
b_steps
'
- id: a_
step
s
type: Any[]
default: []
- id: b_
argument
s
- id: b_
step
s
type: Any[]
default: []
outputs:
- id:
output_argument
s
- id:
selected_step
s
type: Any
expression: |
$(
{'
output_argument
s': inputs.selector ? inputs.a_
argument
s : inputs.b_
argument
s}
{'
selected_step
s': inputs.selector ? inputs.a_
step
s : inputs.b_
step
s}
)
label:
Parset
Selector
label: Selector
requirements:
- class: InlineJavascriptRequirement
This diff is collapsed.
Click to expand it.
subworkflow/ndppp_prep_cal.cwl
+
37
−
32
View file @
01ed1197
...
...
@@ -7,16 +7,16 @@ $namespaces:
inputs:
- id: baselines_to_flag
type: 'string[]'
'sbg:x': 7
07.7924194335938
'sbg:y':
-366.86871337890625
'sbg:x': 7
32.2234497070312
'sbg:y':
79.11939239501953
- id: elevation_to_flag
type: string
'sbg:x': 8
47
'sbg:y': -
501.746948242187
5
'sbg:x': 8
15.8416137695312
'sbg:y': -
281.4077758789062
5
- id: min_amplitude_to_flag
type: float
'sbg:x':
1129.3828125
'sbg:y':
338.9372863769531
'sbg:x':
964.3058471679688
'sbg:y':
191.110595703125
- id: memoryperc
type: int
'sbg:x': 136.78256225585938
...
...
@@ -31,8 +31,8 @@ inputs:
'sbg:y': -298.45196533203125
- id: msin
type: Directory?
'sbg:x': 2
095.96948242187
5
'sbg:y':
563.7855224609375
'sbg:x': 2
129.633789062
5
'sbg:y':
149.5590362548828
outputs:
- id: msout
outputSource:
...
...
@@ -51,7 +51,7 @@ steps:
in:
- id: steps
source:
- process_raw_data_select/steps
- process_raw_data_select/
selected_
steps
- id: step_name
default: flagbaseline
- id: baseline
...
...
@@ -60,8 +60,8 @@ steps:
out:
- id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x':
1160.802978515625
'sbg:y': -
9
5.
15213775634766
'sbg:x':
955.2450561523438
'sbg:y': -
7
5.
71149444580078
- id: flagelev
in:
- id: steps
...
...
@@ -74,19 +74,21 @@ steps:
out:
- id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x': 1
459.242187
5
'sbg:y': -83
.970458984375
'sbg:x': 1
187.477172851562
5
'sbg:y': -83
- id: process_raw_data_select
in:
- id: select_a
source: raw_data
- id: a_
argument
s
- id: a_
step
s
source:
- aoflag/augmented_steps
- id: b_steps
default: []
out:
- id:
output_argument
s
run: ../steps/DP3.
Parset
Selector.cwl
label:
Parset
Selector
- id:
selected_step
s
run: ../steps/DP3.Selector.cwl
label: Selector
'sbg:x': 621.4892578125
'sbg:y': -71.31844329833984
- id: flagamp
...
...
@@ -101,19 +103,21 @@ steps:
out:
- id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x': 1
659.30200195
3125
'sbg:y': -2
3
'sbg:x': 1
385.99340820
3125
'sbg:y': -
42.2885055541992
2
- id: flagedge
in:
- id: step_name
default: flagedge
- id: steps
default: []
- id: chan
default: '[0..nchan/32-1,31*nchan/32..nchan-1]'
out:
- id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x':
53.59375762939453
'sbg:y': -
119.9607772827148
4
'sbg:x':
122.25408935546875
'sbg:y': -
54.0616302490234
4
- id: aoflag
in:
- id: steps
...
...
@@ -128,21 +132,21 @@ steps:
out:
- id: augmented_steps
run: ../steps/DP3.AOFlaggerStepGenerator.cwl
'sbg:x': 3
57.9343261718
75
'sbg:y': -
129.337890625
'sbg:x': 3
69.98767089843
75
'sbg:y': -
38.086280822753906
- id: demix_select
in:
- id: select_a
source: demix
- id: a_
argument
s
- id: a_
step
s
source:
- demixstepgenerator/augmented_steps
- id: b_
argument
s
- id: b_
step
s
source:
- flagamp/augmented_steps
out:
- id:
output_argument
s
run: ../steps/DP3.
Parset
Selector.cwl
- id:
selected_step
s
run: ../steps/DP3.Selector.cwl
label: demix?
'sbg:x': 1985.5047607421875
'sbg:y': -44.651588439941406
...
...
@@ -154,13 +158,13 @@ steps:
out:
- id: augmented_steps
run: ../steps/DP3.DemixerStepGenerator.cwl
'sbg:x': 1
828.62304687
5
'sbg:y':
156.3474578857422
'sbg:x': 1
676.659301757812
5
'sbg:y':
90.7158203125
- id: parsetgenerator
in:
- id: steps
source:
- demix_select/
output_argument
s
- demix_select/
selected_step
s
out:
- id: parset
- id: input_files
...
...
@@ -168,8 +172,8 @@ steps:
- id: output_file_names
- id: output_directory_names
run: ../steps/DP3.ParsetGenerator.cwl
'sbg:x': 2228
.349365234375
'sbg:y': -
53.74734115600586
'sbg:x': 2228
'sbg:y': -
40.012325286865234
- id: dppp
in:
- id: parset
...
...
@@ -215,3 +219,4 @@ requirements:
- class: SubworkflowFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement
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