Skip to content

Commit

Permalink
flake8.
Browse files Browse the repository at this point in the history
  • Loading branch information
DailyDreaming committed Jul 26, 2018
1 parent ad949f1 commit f3c93b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wes_service/toil_wes.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ def write_workflow(self, request, opts, wftype='cwl'):
subprocess.check_call(['wget', workflow_url])
workflow_url = os.path.abspath(workflow_url.split('/')[-1])
command_args = ['toil-wdl-runner'] + extra + [workflow_url, self.input_json]
assert(os.path.exists(workflow_url), workflow_url)
assert(os.path.exists(workflow_url), workflow_url) # noqa
with open(workflow_url, 'r') as f:
logging.info(f.read())
assert(os.path.exists(self.input_json), self.input_json)
assert(os.path.exists(self.input_json), self.input_json) # noqa
with open(self.input_json, 'r') as f:
logging.info(f.read())
elif wftype == 'py':
Expand Down Expand Up @@ -113,7 +113,7 @@ def getlog(self):
stderr = self.fetch(self.errfile)
starttime = self.fetch(self.starttime)
endtime = self.fetch(self.endtime)
cmd = self.fetch(self.cmdfile)
# cmd = self.fetch(self.cmdfile)

outputobj = {}
if state == "COMPLETE":
Expand Down

0 comments on commit f3c93b8

Please sign in to comment.