Skip to content

Commit 944d82f

Browse files
committed
Removing redundancies in arvados backend.
1 parent be94840 commit 944d82f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

wes_service/arvados_wes.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,20 +184,13 @@ def RunWorkflow(self, **args):
184184
"priority": 500}}).execute()
185185

186186
workflow_url = body.get("workflow_url")
187-
workflow_attachment_file = None
188-
if body.get("workflow_attachment"):
189-
workflow_attachment_file = tempfile.NamedTemporaryFile()
190-
workflow_attachment_file.write(body.get('workflow_attachment'))
191-
workflow_attachment_file.flush()
192-
workflow_url = workflow_attachment_file.name
193187

194188
project_uuid = body.get("workflow_engine_parameters", {}).get("project_uuid")
195189

196190
threading.Thread(target=self.invoke_cwl_runner, args=(cr["uuid"],
197191
workflow_url,
198192
body["workflow_params"],
199193
env,
200-
workflow_attachment_file,
201194
project_uuid,
202195
tempdir)).start()
203196

0 commit comments

Comments
 (0)