1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/commits/dc25a4530db8/ Changeset: dc25a4530db8 User: greg Date: 2013-09-27 22:35:08 Summary: Add the PostJobAction class to the tool shed's model so workflows can be properly displayed. Affected #: 2 files
diff -r 3de162c29e7e48c0532eab9950244a249f2fddfc -r dc25a4530db870ba55aa268f88800e5bc9956815 lib/galaxy/webapps/tool_shed/model/__init__.py --- a/lib/galaxy/webapps/tool_shed/model/__init__.py +++ b/lib/galaxy/webapps/tool_shed/model/__init__.py @@ -378,6 +378,15 @@ self.user_value = None
+class PostJobAction( object ): + + def __init__( self, action_type, workflow_step, output_name = None, action_arguments = None): + self.action_type = action_type + self.output_name = output_name + self.action_arguments = action_arguments + self.workflow_step = workflow_step + + class Workflow( object ):
def __init__( self ):
diff -r 3de162c29e7e48c0532eab9950244a249f2fddfc -r dc25a4530db870ba55aa268f88800e5bc9956815 lib/tool_shed/util/workflow_util.py --- a/lib/tool_shed/util/workflow_util.py +++ b/lib/tool_shed/util/workflow_util.py @@ -395,7 +395,7 @@ new_step_annotation = trans.model.WorkflowStepAnnotationAssociation() new_step_annotation.annotation = annotation new_step_annotation.user = trans.user - step.annotations.append(new_step_annotation) + step.annotations.append( new_step_annotation ) # Unpack and add post-job actions. post_job_actions = step_dict.get( 'post_job_actions', {} ) for name, pja_dict in post_job_actions.items():
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.