1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a86290c120d3/ Changeset: a86290c120d3 User: jgoecks Date: 2013-08-24 16:31:23 Summary: Fix Sweepster bug that prevented changing parameter tree after running sweeps. Affected #: 1 file diff -r 5b4c4cf9bc9619d51d7f2471d64896dcdd93707c -r a86290c120d3aafb321f73d5ff57e777e8946a41 static/scripts/viz/sweepster.js --- a/static/scripts/viz/sweepster.js +++ b/static/scripts/viz/sweepster.js @@ -920,11 +920,16 @@ // Set inputs and run tool. tool.set_input_values(pm_track.get('settings').get('values')); $.when(tool.rerun(dataset, regions)).then(function(output) { - // HACK: output is an HDA with track config attribute. To create a track, rearrange - // track config to point to HDA. + // HACKish: output is an HDA with track config attribute. To create a track + // that works correctly with Backbone relational, it is necessary to + // use a modified version of the track config. var dataset = output.first(), track_config = dataset.get('track_config'); + // Set dataset to be the tool's output. track_config.dataset = dataset; + // Set tool to null so that it is not unpacked; unpacking it messes with + // the tool parameters and parameter tree. + track_config.tool = null; // Create and add track for output dataset. var track_obj = tracks.object_from_template(track_config, self, null); 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.