Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

$include in InitialWorkDirRequirement flagged incorrectly as error #100

Closed
pvanheus opened this issue Sep 28, 2020 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@pvanheus
Copy link

Example CWL tool:

#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: CommandLineTool

requirements:
  InitialWorkDirRequirement:
    listing:
      - entryname: bug1.txt
        entry:
          $include: "bug1.txt"

inputs:
  one:
    type: string

stdout: bug1.out

outputs:
  output:
    type: stdout

baseCommand: [ cat, bug1.txt ]

where bug1.txt is:

some text

benten 2020.06.03.1 flags the $include: "bug1.txt" as an error: "Got type (unknown). Expecting one of ['string', 'Expression']". The code is, however, valid CWL.

@ghost ghost self-assigned this Sep 28, 2020
@ghost ghost added the bug Something isn't working label Sep 28, 2020
@kghose kghose closed this as completed in 3bdf9f2 Sep 29, 2020
@ghost
Copy link

ghost commented Sep 29, 2020

Thanks so much for the bug report @pvanheus . This is fixed in release 2020.09.28.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant