Skip to content
Snippets Groups Projects
Commit dd2ed963 authored by Timo Millenaar's avatar Timo Millenaar
Browse files

Change numberOfCorrelatedDataProducts to represent the number of measurement...

Change numberOfCorrelatedDataProducts to represent the number of measurement sets in the task abd not be hardcoded to one
parent 0b3ef2e7
No related branches found
No related tags found
1 merge request!21Change numberOfCorrelatedDataProducts to represent the number of measurement...
...@@ -16,6 +16,10 @@ inputs: ...@@ -16,6 +16,10 @@ inputs:
type: boolean? type: boolean?
- id: msin - id: msin
type: Directory type: Directory
- id: msin_files
type: string[]
- id: ms_count
type: int
outputs: outputs:
- id: inspect - id: inspect
...@@ -116,6 +120,10 @@ steps: ...@@ -116,6 +120,10 @@ steps:
pickValue: first_non_null pickValue: first_non_null
- id: compressed_file - id: compressed_file
source: compress/compressed source: compress/compressed
- id: msin_files
source: msin_files
- id: ms_count
source: ms_count
- id: skip - id: skip
source: identify_issues/skip_compress source: identify_issues/skip_compress
when: $(inputs.skip == false) when: $(inputs.skip == false)
......
...@@ -67,6 +67,10 @@ steps: ...@@ -67,6 +67,10 @@ steps:
source: flag_autocorrelation source: flag_autocorrelation
- id: is_long_baseline - id: is_long_baseline
source: is_long_baseline source: is_long_baseline
- id: msin_files
source: surls
- id: ms_count
valueFrom: $(inputs.msin_files.length)
scatter: scatter:
- msin - msin
run: ./compress_pipeline.cwl run: ./compress_pipeline.cwl
......
...@@ -13,6 +13,9 @@ inputs: ...@@ -13,6 +13,9 @@ inputs:
type: File type: File
inputBinding: inputBinding:
position: 1 position: 1
- id: ms_count
type: int
outputs: outputs:
- id: ingest - id: ingest
type: Any type: Any
...@@ -47,7 +50,7 @@ requirements: ...@@ -47,7 +50,7 @@ requirements:
"timeIntegrationStep": "1", "timeIntegrationStep": "1",
"flagAutoCorrelations": "true", "flagAutoCorrelations": "true",
"frequencyIntegrationStep": "1", "frequencyIntegrationStep": "1",
"numberOfCorrelatedDataProducts": "1" "numberOfCorrelatedDataProducts": $(inputs.ms_count),
} }
} }
- entryname: dataproduct.json - entryname: dataproduct.json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment