-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tabix histogram for CanvasFeatuers #956
Conversation
Fixes #935 |
This also has a fix for 'addStores', which should have been done within the master branch, but it ended up here. It is the correct fix, however. |
@@ -59,7 +59,7 @@ define(['dojo/_base/declare', 'JBrowse/Util/dot-object'], function (declare, dot | |||
var storeTracks = {}; | |||
var storeBookmarks = {}; | |||
Object.keys(queryParams).forEach(function (queryParam) { | |||
if (queryParam.indexOf('addStore\.') == 0) { | |||
if (queryParam.indexOf('addStores\.') == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a block comment to the top of this file saying what this class does? For posterity.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added doc at the top. Thanks.
}, errorCallback); | ||
}, | ||
|
||
_count: function( ref, min, max, itemCallback, finishCallback, errorCallback ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this function doesn't look right. it is returning count synchronously, but it also calls an error callback.
and it's returning a count of the blocks in the range, not the lines. what's up here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea. I removed it as they weren't actually used.
@rbuels Ready for re-review assuming that everything passes. |
Fixes #935
add volvox example with BigWig if not there
add volvox exmple without BigWig
adjust feature density to sane default, confirm adjustment
allows current use of supplying alternate store such as BigWig
Provides automated feature density for GFF3Tabix versus CanvasFeatures
provides reasonably similar densities to HTMLFeatures (or at least sane defaults)