Skip to content

Commit

Permalink
Fix output from download-models.cwl
Browse files Browse the repository at this point in the history
  • Loading branch information
axdanbol committed Oct 23, 2023
1 parent 2121eb3 commit 1da5f14
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
21 changes: 11 additions & 10 deletions download-models.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,23 @@ inputs:

outputs:
data:
type: Directory[]
outputSource: [downloadAzimuth/data, downloadPopv/data]
type: Directory
outputSource: collectFiles/directory

steps:
downloadAzimuth:
run: ./containers/azimuth/download-data.cwl
in:
outputDirectory:
source: outputDirectory
valueFrom: $(self + '/azimuth')
in: []
out: [data]

downloadPopv:
run: ./containers/popv/download-data.cwl
in:
outputDirectory:
source: outputDirectory
valueFrom: $(self + '/popv')
in: []
out: [data]

collectFiles:
run: ./steps/collect-files.cwl
in:
files: [downloadAzimuth/data, downloadPopv/data]
outputDirectory: outputDirectory
out: [directory]
7 changes: 6 additions & 1 deletion steps/collect-files.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,12 @@ requirements:
MultipleInputFeatureRequirement: {}

inputs:
files: File[]
files:
type:
type: array
items:
- File
- Directory
outputDirectory: string
outputs:
directory: Directory
Expand Down

0 comments on commit 1da5f14

Please sign in to comment.