1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/8882e45504a3/ Changeset: 8882e45504a3 User: jgoecks Date: 2013-05-14 17:54:00 Summary: Add annotation when importing workflow. Affected #: 1 file diff -r c842439a245cf97137a819aaae9907240f47e6d9 -r 8882e45504a37ab9f87f2872df2a6749673bd741 lib/galaxy/webapps/galaxy/controllers/workflow.py --- a/lib/galaxy/webapps/galaxy/controllers/workflow.py +++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py @@ -1855,14 +1855,19 @@ conn.output_name = conn_dict['output_name'] conn.output_step = steps_by_external_id[ conn_dict['id'] ] del step.temp_input_connections + # Order the steps if possible attach_ordered_steps( workflow, steps ) + # Connect up stored = model.StoredWorkflow() stored.name = workflow.name workflow.stored_workflow = stored stored.latest_workflow = workflow stored.user = trans.user + if data[ 'annotation' ]: + self.add_item_annotation( trans.sa_session, stored.user, stored, data[ 'annotation' ] ) + # Persist trans.sa_session.add( stored ) trans.sa_session.flush() 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.