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

Change workflow to select only the first directory

Former-commit-id: 948be8b1
parent 221905e6
No related branches found
No related tags found
No related merge requests found
id: copy_in_one_directory
label: copy_in_one_directory
id: selectfirstdirectory
label: selectfirstdirectory
class: ExpressionTool
cwlVersion: v1.0
......@@ -9,7 +9,6 @@ inputs:
outputs:
- id: output
type: Directory
glob: .
requirements:
- class: InitialWorkDirRequirement
......@@ -19,7 +18,7 @@ requirements:
expression: |
${
return {'output': inputs.input[0]}
}
......
......@@ -161,17 +161,17 @@ outputs:
'sbg:x': 1554.5106201171875
'sbg:y': 991
steps:
- id: copy
- id: select
in:
- id: input
source:
- msin
out:
- id: output
run: ../../steps/copy_in_one_directory.cwl
label: copy_in_one_directory
'sbg:x': -267.1643981933594
'sbg:y': 480.32098388671875
run: ../../steps/selectfirstdirectory.cwl
label: select_ony_first
'sbg:x': -303.7861022949219
'sbg:y': 542.37646484375
- id: ndppp_prep_cal
in:
- id: baselines_to_flag
......@@ -263,7 +263,7 @@ steps:
in:
- id: ms
source:
- copy/output
- select/output
- id: min_separation
source: min_separation
out:
......@@ -290,7 +290,7 @@ steps:
in:
- id: msin
source:
- copy/output
- select/output
- id: skymodels
source: calibrator_path_skymodel
- id: max_separation_arcmin
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment