diff --git a/client/galaxy/scripts/viz/trackster/slotting.js b/client/galaxy/scripts/viz/trackster/slotting.js index ec6481ec413..4d3e1a7bb9b 100644 --- a/client/galaxy/scripts/viz/trackster/slotting.js +++ b/client/galaxy/scripts/viz/trackster/slotting.js @@ -138,7 +138,6 @@ extend( FeatureSlotter.prototype, { // Feature is slotted; if feature now has larger start/end coordinates, // update drawing coordinates. if (feature[1] < slotted_info.feature[1] || slotted_info.feature[2] < feature[2]) { - console.log(feature[3], slotted_info.slot, this._find_slot(this._get_draw_coords(feature))); // Feature has changed (e.g. a single read now has its pair), so recalculate its // drawing coordinates. var old_draw_coords = this._get_draw_coords(slotted_info.feature), diff --git a/static/scripts/packed/viz/trackster/slotting.js b/static/scripts/packed/viz/trackster/slotting.js index eda721802da..8f1f32129f9 100644 --- a/static/scripts/packed/viz/trackster/slotting.js +++ b/static/scripts/packed/viz/trackster/slotting.js @@ -1 +1 @@ -define(["libs/underscore"],function(c){var f=c.extend;var d=2,b=5;var a=function(h,g){this.slot=h;this.feature=g};var e=function(j,i,g,h){this.slots={};this.start_end_dct={};this.w_scale=j;this.mode=i;this.include_label=(i==="Pack");this.max_rows=g;this.measureText=h};f(e.prototype,{_get_draw_coords:function(j){var h=Math.floor(j[1]*this.w_scale),i=Math.ceil(j[2]*this.w_scale),g=j[3],k;if(g!==undefined&&this.include_label){var l=this.measureText(g).width+(d+b);if(h-l>=0){h-=l;k="left"}else{i+=l;k="right"}}return[h,i]},_find_slot:function(j){var o=j[0],n=j[1];for(var l=0;l<=this.max_rows;l++){var p=false,m=this.start_end_dct[l];if(m!==undefined){for(var g=0,h=m.length;gi[0]&&o=0){if(q[u]===undefined){q[u]=[]}q[u].push(r);this.slots[l]=new a(u,x);m=Math.max(m,u)}}return m+1}});return{FeatureSlotter:e}}); \ No newline at end of file +define(["libs/underscore"],function(c){var f=c.extend;var d=2,b=5;var a=function(h,g){this.slot=h;this.feature=g};var e=function(j,i,g,h){this.slots={};this.start_end_dct={};this.w_scale=j;this.mode=i;this.include_label=(i==="Pack");this.max_rows=g;this.measureText=h};f(e.prototype,{_get_draw_coords:function(j){var h=Math.floor(j[1]*this.w_scale),i=Math.ceil(j[2]*this.w_scale),g=j[3],k;if(g!==undefined&&this.include_label){var l=this.measureText(g).width+(d+b);if(h-l>=0){h-=l;k="left"}else{i+=l;k="right"}}return[h,i]},_find_slot:function(j){var o=j[0],n=j[1];for(var l=0;l<=this.max_rows;l++){var p=false,m=this.start_end_dct[l];if(m!==undefined){for(var g=0,h=m.length;gi[0]&&o=0){if(q[u]===undefined){q[u]=[]}q[u].push(r);this.slots[l]=new a(u,x);m=Math.max(m,u)}}return m+1}});return{FeatureSlotter:e}}); \ No newline at end of file diff --git a/static/scripts/viz/trackster/slotting.js b/static/scripts/viz/trackster/slotting.js index ec6481ec413..4d3e1a7bb9b 100644 --- a/static/scripts/viz/trackster/slotting.js +++ b/static/scripts/viz/trackster/slotting.js @@ -138,7 +138,6 @@ extend( FeatureSlotter.prototype, { // Feature is slotted; if feature now has larger start/end coordinates, // update drawing coordinates. if (feature[1] < slotted_info.feature[1] || slotted_info.feature[2] < feature[2]) { - console.log(feature[3], slotted_info.slot, this._find_slot(this._get_draw_coords(feature))); // Feature has changed (e.g. a single read now has its pair), so recalculate its // drawing coordinates. var old_draw_coords = this._get_draw_coords(slotted_info.feature),