galaxy-dist commit 1cd9009036f7: Constrain connection to correct outputs when using ChangeDatatypeAction in workflow editor.
# HG changeset patch -- Bitbucket.org # Project galaxy-dist # URL http://bitbucket.org/galaxy/galaxy-dist/overview # User Dannon Baker <dannonbaker@me.com> # Date 1283208488 14400 # Node ID 1cd9009036f729c8d36fe40db6cbfd6508c3a635 # Parent a8a59549ca5fcad2769db585a051d4c4bb45f27d Constrain connection to correct outputs when using ChangeDatatypeAction in workflow editor. --- a/static/scripts/galaxy.workflow_editor.canvas.js +++ b/static/scripts/galaxy.workflow_editor.canvas.js @@ -50,10 +50,8 @@ InputTerminal.prototype = new Terminal() if (other.node.post_job_actions){ for (var pja_i in other.node.post_job_actions){ var pja = other.node.post_job_actions[pja_i]; - if (pja.action_type == "ChangeDatatypeAction"){ - if (pja.action_arguments){ - cat_outputs.push(pja.action_arguments['newtype']); - } + if (pja.action_type == "ChangeDatatypeAction" && (pja.output_name == '' || pja.output_name == other.name) && pja.action_arguments){ + cat_outputs.push(pja.action_arguments['newtype']); } } }
participants (1)
-
commits-noreply@bitbucket.org