1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/e449670f80ed/ changeset: e449670f80ed user: dannon date: 2012-07-09 02:02:47 summary: Fix for using HDAs as a source in API workflow execution -- Previously erroneously *moved* the hda to the new history when not using 'add_to_history=False', will now create a copy. affected #: 1 file diff -r ea7432fd68e0472dea262f56e8181301109a28ff -r e449670f80edec4bec2ac81cd9e3630ff9e6a3b0 lib/galaxy/web/api/workflows.py --- a/lib/galaxy/web/api/workflows.py +++ b/lib/galaxy/web/api/workflows.py @@ -134,11 +134,12 @@ hda = trans.sa_session.query(self.app.model.HistoryDatasetAssociation).get( trans.security.decode_id(ds_map[k]['id'])) assert trans.user_is_admin() or trans.app.security_agent.can_access_dataset( trans.get_current_user_roles(), hda.dataset ) - if add_to_history and hda.history != history: - history.add_dataset(hda) else: trans.response.status = 400 return "Unknown dataset source '%s' specified." % ds_map[k]['src'] + if add_to_history and hda.history != history: + hda = hda.copy() + history.add_dataset(hda) ds_map[k]['hda'] = hda except AssertionError: trans.response.status = 400 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.