Mercurial > repos > guerler > springsuite
comparison planemo/lib/python3.7/site-packages/cwltool/tests/wf/networkaccess.cwl @ 0:d30785e31577 draft
"planemo upload commit 6eee67778febed82ddd413c3ca40b3183a3898f1"
author | guerler |
---|---|
date | Fri, 31 Jul 2020 00:18:57 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:d30785e31577 |
---|---|
1 #!/usr/bin/env cwl-runner | |
2 class: CommandLineTool | |
3 cwlVersion: v1.0 | |
4 $namespaces: | |
5 cwltool: "http://commonwl.org/cwltool#" | |
6 requirements: | |
7 DockerRequirement: | |
8 dockerPull: python:3 | |
9 cwltool:NetworkAccess: | |
10 networkAccess: true | |
11 inputs: [] | |
12 outputs: [] | |
13 baseCommand: python | |
14 arguments: | |
15 - "-c" | |
16 - valueFrom: | | |
17 import urllib.request | |
18 assert(urllib.request.urlopen("http://commonwl.org").code == 200) |