Skip to content

Commit 04b9454

Browse files
committed
Debug travis paths.
1 parent a66bf9f commit 04b9454

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

wes_service/toil_wes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ def write_workflow(self, request, opts, wftype='cwl'):
5454
command_args = ['toil-cwl-runner'] + extra + [workflow_url, self.input_json]
5555
elif wftype == 'wdl':
5656
command_args = ['toil-wdl-runner'] + extra + [workflow_url, self.input_json]
57+
assert(os.path.exists(workflow_url), workflow_url)
58+
with open(workflow_url, 'r') as f:
59+
logging.info(f.read())
60+
assert(os.path.exists(self.input_json), self.input_json)
61+
with open(self.input_json, 'r') as f:
62+
logging.info(f.read())
5763
elif wftype == 'py':
5864
command_args = ['python'] + extra + [self.input_wf_filename]
5965
else:

0 commit comments

Comments
 (0)