Skip to content
Snippets Groups Projects
Commit 20863dbb 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

Former-commit-id: 0fbf413d
Former-commit-id: 8ea482af
parents f21f76e3 d6203469
No related branches found
No related tags found
No related merge requests found
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:
label: merge_array_files
'sbg:x': 1000
'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
in:
- id: msin
source: merge_array/output
source: check_filtered_MS_array/output
- id: skymodel
source: make_sourcedb_target/sourcedb
- id: do_smooth
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment