Skip to content

Commit

Permalink
adding docker container hint, test 42: search.cwl
Browse files Browse the repository at this point in the history
  • Loading branch information
kapilkd13 committed Jul 9, 2017
1 parent 68d85c8 commit 739562c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions v1.0/v1.0/search.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cwlVersion: v1.0
$graph:
- id: index
class: CommandLineTool
baseCommand: python2
baseCommand: python
arguments:
- valueFrom: input.txt
position: 1
Expand All @@ -12,6 +12,9 @@ $graph:
- entryname: input.txt
entry: $(inputs.file)
- class: InlineJavascriptRequirement
hints:
- class: DockerRequirement
dockerPull: python:2-slim

inputs:
file: File
Expand All @@ -36,9 +39,12 @@ $graph:

- id: search
class: CommandLineTool
baseCommand: python2
baseCommand: python
requirements:
- class: InlineJavascriptRequirement
hints:
- class: DockerRequirement
dockerPull: python:2-slim
inputs:
file:
type: File
Expand Down

0 comments on commit 739562c

Please sign in to comment.