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

Fix renaming

parent 606ea2e4
No related branches found
No related tags found
2 merge requests!69Change the name of the pre-calibrated output MS,!4Fix toil interop
Pipeline #202 failed
...@@ -5,7 +5,7 @@ cwlVersion: v1.0 ...@@ -5,7 +5,7 @@ cwlVersion: v1.0
id: preflag_step_generator id: preflag_step_generator
inputs: inputs:
- id: input_parset - id: steps
type: Any[]? type: Any[]?
default: [] default: []
- id: step_name - id: step_name
...@@ -182,7 +182,7 @@ steps: ...@@ -182,7 +182,7 @@ steps:
- id: step_id - id: step_id
source: step_name source: step_name
- id: steps - id: steps
source: input_parset source: steps
- id: parameters - id: parameters
valueFrom: $(inputs) valueFrom: $(inputs)
- id: count.save - id: count.save
......
class: ExpressionTool class: ExpressionTool
cwlVersion: v1.0 cwlVersion: v1.0
id: parsetselector id: selector
inputs: inputs:
- id: select_a - id: select_a
type: boolean type: boolean
doc: 'if true selects parset_a, files_a if false selects parset_b files_b' doc: 'if true selects a_steps if false selects b_steps'
- id: a_arguments - id: a_steps
type: Any[] type: Any[]
default: [] default: []
- id: b_arguments - id: b_steps
type: Any[] type: Any[]
default: [] default: []
outputs: outputs:
- id: output_arguments - id: selected_steps
type: Any type: Any
expression: | expression: |
$( $(
{'output_arguments': inputs.selector ? inputs.a_arguments : inputs.b_arguments} {'selected_steps': inputs.selector ? inputs.a_steps : inputs.b_steps}
) )
label: ParsetSelector label: Selector
requirements: requirements:
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
...@@ -7,16 +7,16 @@ $namespaces: ...@@ -7,16 +7,16 @@ $namespaces:
inputs: inputs:
- id: baselines_to_flag - id: baselines_to_flag
type: 'string[]' type: 'string[]'
'sbg:x': 707.7924194335938 'sbg:x': 732.2234497070312
'sbg:y': -366.86871337890625 'sbg:y': 79.11939239501953
- id: elevation_to_flag - id: elevation_to_flag
type: string type: string
'sbg:x': 847 'sbg:x': 815.8416137695312
'sbg:y': -501.7469482421875 'sbg:y': -281.40777587890625
- id: min_amplitude_to_flag - id: min_amplitude_to_flag
type: float type: float
'sbg:x': 1129.3828125 'sbg:x': 964.3058471679688
'sbg:y': 338.9372863769531 'sbg:y': 191.110595703125
- id: memoryperc - id: memoryperc
type: int type: int
'sbg:x': 136.78256225585938 'sbg:x': 136.78256225585938
...@@ -31,8 +31,8 @@ inputs: ...@@ -31,8 +31,8 @@ inputs:
'sbg:y': -298.45196533203125 'sbg:y': -298.45196533203125
- id: msin - id: msin
type: Directory? type: Directory?
'sbg:x': 2095.969482421875 'sbg:x': 2129.6337890625
'sbg:y': 563.7855224609375 'sbg:y': 149.5590362548828
outputs: outputs:
- id: msout - id: msout
outputSource: outputSource:
...@@ -51,7 +51,7 @@ steps: ...@@ -51,7 +51,7 @@ steps:
in: in:
- id: steps - id: steps
source: source:
- process_raw_data_select/steps - process_raw_data_select/selected_steps
- id: step_name - id: step_name
default: flagbaseline default: flagbaseline
- id: baseline - id: baseline
...@@ -60,8 +60,8 @@ steps: ...@@ -60,8 +60,8 @@ steps:
out: out:
- id: augmented_steps - id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x': 1160.802978515625 'sbg:x': 955.2450561523438
'sbg:y': -95.15213775634766 'sbg:y': -75.71149444580078
- id: flagelev - id: flagelev
in: in:
- id: steps - id: steps
...@@ -74,19 +74,21 @@ steps: ...@@ -74,19 +74,21 @@ steps:
out: out:
- id: augmented_steps - id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x': 1459.2421875 'sbg:x': 1187.4771728515625
'sbg:y': -83.970458984375 'sbg:y': -83
- id: process_raw_data_select - id: process_raw_data_select
in: in:
- id: select_a - id: select_a
source: raw_data source: raw_data
- id: a_arguments - id: a_steps
source: source:
- aoflag/augmented_steps - aoflag/augmented_steps
- id: b_steps
default: []
out: out:
- id: output_arguments - id: selected_steps
run: ../steps/DP3.ParsetSelector.cwl run: ../steps/DP3.Selector.cwl
label: ParsetSelector label: Selector
'sbg:x': 621.4892578125 'sbg:x': 621.4892578125
'sbg:y': -71.31844329833984 'sbg:y': -71.31844329833984
- id: flagamp - id: flagamp
...@@ -101,19 +103,21 @@ steps: ...@@ -101,19 +103,21 @@ steps:
out: out:
- id: augmented_steps - id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x': 1659.302001953125 'sbg:x': 1385.993408203125
'sbg:y': -23 'sbg:y': -42.28850555419922
- id: flagedge - id: flagedge
in: in:
- id: step_name - id: step_name
default: flagedge default: flagedge
- id: steps
default: []
- id: chan - id: chan
default: '[0..nchan/32-1,31*nchan/32..nchan-1]' default: '[0..nchan/32-1,31*nchan/32..nchan-1]'
out: out:
- id: augmented_steps - id: augmented_steps
run: ../steps/DP3.PreflaggerStepGenerator.cwl run: ../steps/DP3.PreflaggerStepGenerator.cwl
'sbg:x': 53.59375762939453 'sbg:x': 122.25408935546875
'sbg:y': -119.96077728271484 'sbg:y': -54.06163024902344
- id: aoflag - id: aoflag
in: in:
- id: steps - id: steps
...@@ -128,21 +132,21 @@ steps: ...@@ -128,21 +132,21 @@ steps:
out: out:
- id: augmented_steps - id: augmented_steps
run: ../steps/DP3.AOFlaggerStepGenerator.cwl run: ../steps/DP3.AOFlaggerStepGenerator.cwl
'sbg:x': 357.934326171875 'sbg:x': 369.9876708984375
'sbg:y': -129.337890625 'sbg:y': -38.086280822753906
- id: demix_select - id: demix_select
in: in:
- id: select_a - id: select_a
source: demix source: demix
- id: a_arguments - id: a_steps
source: source:
- demixstepgenerator/augmented_steps - demixstepgenerator/augmented_steps
- id: b_arguments - id: b_steps
source: source:
- flagamp/augmented_steps - flagamp/augmented_steps
out: out:
- id: output_arguments - id: selected_steps
run: ../steps/DP3.ParsetSelector.cwl run: ../steps/DP3.Selector.cwl
label: demix? label: demix?
'sbg:x': 1985.5047607421875 'sbg:x': 1985.5047607421875
'sbg:y': -44.651588439941406 'sbg:y': -44.651588439941406
...@@ -154,13 +158,13 @@ steps: ...@@ -154,13 +158,13 @@ steps:
out: out:
- id: augmented_steps - id: augmented_steps
run: ../steps/DP3.DemixerStepGenerator.cwl run: ../steps/DP3.DemixerStepGenerator.cwl
'sbg:x': 1828.623046875 'sbg:x': 1676.6593017578125
'sbg:y': 156.3474578857422 'sbg:y': 90.7158203125
- id: parsetgenerator - id: parsetgenerator
in: in:
- id: steps - id: steps
source: source:
- demix_select/output_arguments - demix_select/selected_steps
out: out:
- id: parset - id: parset
- id: input_files - id: input_files
...@@ -168,8 +172,8 @@ steps: ...@@ -168,8 +172,8 @@ steps:
- id: output_file_names - id: output_file_names
- id: output_directory_names - id: output_directory_names
run: ../steps/DP3.ParsetGenerator.cwl run: ../steps/DP3.ParsetGenerator.cwl
'sbg:x': 2228.349365234375 'sbg:x': 2228
'sbg:y': -53.74734115600586 'sbg:y': -40.012325286865234
- id: dppp - id: dppp
in: in:
- id: parset - id: parset
...@@ -215,3 +219,4 @@ requirements: ...@@ -215,3 +219,4 @@ requirements:
- class: SubworkflowFeatureRequirement - class: SubworkflowFeatureRequirement
- class: StepInputExpressionRequirement - class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement - class: InlineJavascriptRequirement
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment