Skip to content

Commit 64cfcb9

Browse files
author
Walt Shands
committed
Merge branch 'release/1.0.18'
2 parents 35ef549 + ab6dc03 commit 64cfcb9

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

Dockstore.cwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dct:creator:
2424
2525
requirements:
2626
- class: DockerRequirement
27-
dockerPull: "quay.io/ucsc_cgl/dockstore-tool-runner:1.0.17"
27+
dockerPull: "quay.io/ucsc_cgl/dockstore-tool-runner:1.0.18"
2828
2929
hints:
3030
- class: ResourceRequirement

DockstoreRunner.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -467,16 +467,14 @@ def run(self):
467467
{
468468
"version" : "1.0.0",
469469
"timestamp" : "%s",
470-
"parent_uuids" : [
471-
"%s"
472-
],
470+
"parent_uuids" :"%s",
473471
"workflow_url" : "%s",
474472
"workflow_name" : "%s",
475473
"workflow_version" : "%s",
476474
"analysis_type" : "%s",
477475
"bundle_uuid" : "%s",
478476
"workflow_params" : {
479-
''' % (str(utc_datetime.isoformat("T")), self.parent_uuids, self.dockstore_url, self.workflow_name, self.workflow_version, self.workflow_type, self.bundle_uuid)
477+
''' % (str(utc_datetime.isoformat("T")), self.parent_uuids.split(","), self.dockstore_url, self.workflow_name, self.workflow_version, self.workflow_type, self.bundle_uuid)
480478
i=0
481479
(params_map, file_input_map) = self.map_params(transformed_json_path)
482480
params_map_keys = params_map.keys()

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,15 @@ Most people, other than developers of this tool, will use the Dockstore CLI to i
9999

100100
# patch in /usr/local/lib/python2.7/dist-packages/cwltool
101101
# make a tmpdir like /datastore
102-
docker build -t quay.io/ucsc_cgl/dockstore-tool-runner:1.0.17 .
102+
docker build -t quay.io/ucsc_cgl/dockstore-tool-runner:1.0.18 .
103103
# fill in your JSON from Dockstore.json template as Dockstore.my.json
104104
mkdir /datastore; chown ubuntu:ubuntu /datastore/
105105
# local execution
106106
TMPDIR=/datastore dockstore tool launch --entry Dockstore.cwl --local-entry --json Dockstore.my.json
107107
# as root in /datastore
108108
TMPDIR=/datastore dockstore tool launch --entry ~ubuntu/gitroot/BD2KGenomics/dcc-dockstore-tool-runner/Dockstore.cwl --local-entry --json ~ubuntu/gitroot/BD2KGenomics/dcc-dockstore-tool-runner/Dockstore.my.json
109109
# execute published on dockstore (this is the way most people will use this tool!)
110-
dockstore tool launch --entry quay.io/ucsc_cgl/dockstore-tool-runner:1.0.17 --json Dockstore.my.json
110+
dockstore tool launch --entry quay.io/ucsc_cgl/dockstore-tool-runner:1.0.18 --json Dockstore.my.json
111111

112112
# running you see it launch the cwltool command, you mind find this useful while debugging
113113
cwltool --enable-dev --non-strict --enable-net --outdir /datastore/./datastore/launcher-ff6b55b3-52e8-430c-9a70-1ff295332698/outputs/ --tmpdir-prefix /datastore/./datastore/launcher-ff6b55b3-52e8-430c-9a70-1ff295332698/working/ /home/ubuntu/gitroot/BD2KGenomics/dcc-dockstore-tool-runner/Dockstore.cwl /datastore/./datastore/launcher-ff6b55b3-52e8-430c-9a70-1ff295332698/workflow_params.json

0 commit comments

Comments
 (0)