From f3c93b8e1ff6a48a74066c82db96412a0dbf1800 Mon Sep 17 00:00:00 2001 From: DailyDreaming Date: Thu, 26 Jul 2018 06:22:31 -0700 Subject: [PATCH] flake8. --- wes_service/toil_wes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wes_service/toil_wes.py b/wes_service/toil_wes.py index 8fe62e7..3dbe789 100644 --- a/wes_service/toil_wes.py +++ b/wes_service/toil_wes.py @@ -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': @@ -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":