commit/galaxy-central: jmchilton: Attempt to ensure batch workflows are all properly assigned to same history.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/86fd99a90b81/ Changeset: 86fd99a90b81 User: jmchilton Date: 2014-08-20 14:44:02 Summary: Attempt to ensure batch workflows are all properly assigned to same history. ... in case trans.get_history() changes during scheduling. I believe this was what was happening here (http://dev.list.galaxyproject.org/redirecting-to-unnamed-history-td4665414.h...) though I have no proof - nonetheless this won't hurt anything. Affected #: 1 file diff -r 481b64dd8dff0d2c52388e906a1632370536ef67 -r 86fd99a90b81c84eb4f7489ce016c6d1ed10496a lib/galaxy/webapps/galaxy/controllers/workflow.py --- a/lib/galaxy/webapps/galaxy/controllers/workflow.py +++ b/lib/galaxy/webapps/galaxy/controllers/workflow.py @@ -1268,6 +1268,7 @@ except: error("That history does not exist.") try: # use a try/finally block to restore the user's current history + default_target_history = trans.get_history() if kwargs: # If kwargs were provided, the states for each step should have # been POSTed @@ -1329,7 +1330,7 @@ trans.sa_session.add( new_history ) target_history = new_history else: - target_history = trans.get_history() + target_history = default_target_history # Build replacement dict for this workflow execution. replacement_dict = {} 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