Actions
Bug #10327
openarvados-cwl-runner fails to find secondaryFiles
Story points:
-
Release:
Release relationship:
Auto
Description
Hello. Following example always fails with error, no matter which way I set secondaryFiles. I assumed that this is a bug, because for cwl-runner (v1.0) it works fine. Both files (aligned.bam and aligned.bam.bai) are in the same folder.
IOError: [Errno 2] File not found: u'aligned.bam.bai'
Testing example:
- task.cwl
cwlVersion: v1.0 class: CommandLineTool hints: DockerRequirement: dockerPull: ubuntu requirements: - class: InlineJavascriptRequirement baseCommand: echo arguments: - valueFrom: $(inputs.fileName.basename) position: 1 - valueFrom: $(inputs.fileName.secondaryFiles[0].basename) position: 2 inputs: fileName: type: File # secondaryFiles: # - .bai secondaryFiles: | ${ return {"location": self.location+".bai", "class": "File"}; } outputs: []
- job.yml
{ "fileName": { "class": "File", "location": "aligned.bam" } }
Actions