Skip to content
Snippets Groups Projects
Commit 0fbf413d authored by David Rafferty's avatar David Rafferty
Browse files

Merge branch 'unflagged_check' into 'master'

Check for all MS files removed

See merge request eosc/prefactor3-cwl!39
parents 07c34604 df5f5ea4
No related branches found
No related tags found
2 merge requests!69Change the name of the pre-calibrated output MS,!39Check for all MS files removed
Pipeline #17350 passed
id: check_filtered_MS_array
label: check_filtered_MS_array
class: ExpressionTool
cwlVersion: v1.1
inputs:
- id: input
type: Directory[]
outputs:
- id: output
type: Directory[]
expression: |
${
if (inputs.input.length == 0) {
throw new Error("No MS files meet the minimum unflagged fraction set by min_unflagged_fraction")
} else {
return {'output': inputs.input}
}
}
requirements:
- class: InlineJavascriptRequirement
...@@ -463,10 +463,18 @@ steps: ...@@ -463,10 +463,18 @@ steps:
label: merge_array_files label: merge_array_files
'sbg:x': 1000 'sbg:x': 1000
'sbg:y': 100 'sbg:y': 100
- id: check_filtered_MS_array
in:
- id: input
source: merge_array/output
out:
- id: output
run: ../../steps/check_filtered_MS_array.cwl
label: check_filtered_MS_array
- id: calibrate_target - id: calibrate_target
in: in:
- id: msin - id: msin
source: merge_array/output source: check_filtered_MS_array/output
- id: skymodel - id: skymodel
source: make_sourcedb_target/sourcedb source: make_sourcedb_target/sourcedb
- id: do_smooth - id: do_smooth
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment