commit/galaxy-central: greg: The tool shed does not have HDAs, so step annotations cannot be displayed in a workflow in the tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/d230a516fdbc/ Changeset: d230a516fdbc User: greg Date: 2013-09-27 22:46:54 Summary: The tool shed does not have HDAs, so step annotations cannot be displayed in a workflow in the tool shed. Affected #: 1 file diff -r 735fff26229e56850632a011f7a2374a4ceb48ad -r d230a516fdbcbbf6854b6360f98355168449816b lib/tool_shed/util/workflow_util.py --- a/lib/tool_shed/util/workflow_util.py +++ b/lib/tool_shed/util/workflow_util.py @@ -389,13 +389,14 @@ workflow.has_errors = True # Stick this in the step temporarily. step.temp_input_connections = step_dict[ 'input_connections' ] - annotation = step_dict.get( 'annotation', '') - if annotation: - annotation = sanitize_html( annotation, 'utf-8', 'text/html' ) - new_step_annotation = trans.model.WorkflowStepAnnotationAssociation() - new_step_annotation.annotation = annotation - new_step_annotation.user = trans.user - step.annotations.append( new_step_annotation ) + if trans.webapp.name == 'galaxy': + annotation = step_dict.get( 'annotation', '') + if annotation: + annotation = sanitize_html( annotation, 'utf-8', 'text/html' ) + new_step_annotation = trans.model.WorkflowStepAnnotationAssociation() + new_step_annotation.annotation = annotation + new_step_annotation.user = trans.user + 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.
participants (1)
-
commits-noreply@bitbucket.org