commit/galaxy-central: jeremy goecks: Fix bug in read painter.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/b4abf0b73f7c/ Changeset: b4abf0b73f7c User: jeremy goecks Date: 2014-01-23 23:43:21 Summary: Fix bug in read painter. Affected #: 1 file diff -r 117fef56513fc563dd231516196cfd601c1635e2 -r b4abf0b73f7c7a89444fd5ec01d9d4e6d2fc8c7d static/scripts/viz/trackster/painters.js --- a/static/scripts/viz/trackster/painters.js +++ b/static/scripts/viz/trackster/painters.js @@ -772,6 +772,10 @@ s_end = Math.floor( Math.max(0, (seq_start + cig_len - tile_low - 0.5) * w_scale) ); if (!is_overlap([seq_start, seq_start + cig_len], tile_region)) { + // Increment base offset only for certain operations. + if ("MDN=X".indexOf(cig_op) !== -1) { + base_offset += cig_len; + } continue; } @@ -960,7 +964,6 @@ f_end = Math.ceil( Math.min(width, Math.max(0, (feature_end - tile_low - 0.5) * w_scale)) ), y_start = (mode === "Dense" ? 0 : (0 + slot)) * y_scale, label_color = this.prefs.label_color; - // Draw read. if (feature[5] instanceof Array) { 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