Skip to content

Commit

Permalink
Fix a bug determining the job created for downloading data to cloud.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Aug 3, 2018
1 parent 35459b2 commit 94d1456
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/galaxy/managers/cloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def download(self, trans, history_id, provider, bucket, credentials, dataset_ids
}
incoming = (util.Params(args, sanitize=False)).__dict__
d2c = trans.app.toolbox.get_tool(DOWNLOAD_TOOL, DOWNLOAD_TOOL_VERSION)
job = d2c.execute(trans, incoming, history=history)
res = d2c.execute(trans, incoming, history=history)
job = res[0]
downloaded.append(object_label)
return downloaded

0 comments on commit 94d1456

Please sign in to comment.