Skip to content

Commit

Permalink
Fix issue where multiple inputs couldn't be used for workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
scottx611x committed Feb 29, 2016
1 parent f101567 commit 9d2873b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions refinery/galaxy_connector/galaxy_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
'''

import ast
import uuid
import copy
from datetime import datetime
import logging
Expand Down Expand Up @@ -261,6 +262,13 @@ def createStepsAnnot(file_list, workflow):
'is_refinery_file': True})
# Adds updated module
updated_dict[curr_id] = curr_workflow_step

# Assign a uuid that is unique to each step (allow multiple
# inputs for a workflow)
for item in updated_dict:
updated_dict[item]['uuid'] = unicode(str(
uuid.uuid4()))

return updated_dict, history_download, connections


Expand Down

0 comments on commit 9d2873b

Please sign in to comment.