Skip to content

Commit

Permalink
Remove console logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Aug 10, 2018
1 parent 2bbf638 commit c0b3880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions src/JBrowse/Store/SeqFeature/IndexedStatsEstimationMixin.js
Expand Up @@ -23,21 +23,16 @@ return declare( null, {
var deferred = new Deferred();

refseq = refseq || this.refSeq;
console.log(this);
var featCount;
if(this.indexedData) {
featCount = this.indexedData.featureCount(refseq.name);
} else if(this.bam) {
var chr = refseq.name;
chr = this.browser.regularizeReferenceName( chr );
console.log(chr);
var chrId = this.bam.chrToIndex && this.bam.chrToIndex[chr];
console.log(chrId);
featCount = this.bam.index.featureCount(chrId, true);
}
var density = featCount / (refseq.end - refseq.start);
console.log(density);

deferred.resolve({ featureDensity: density });
return deferred;
}
Expand Down
4 changes: 2 additions & 2 deletions src/JBrowse/Store/TabixIndexedFile.js
Expand Up @@ -45,8 +45,8 @@ return declare( null, {
}, errorCallback);
},
featureCount: function(refSeq) {
return this.index.featureCount(refSeq);
},
return this.index.featureCount(refSeq);
},

_fetch: function( ref, min, max, itemCallback, finishCallback, errorCallback ) {
errorCallback = errorCallback || function(e) { console.error(e, e.stack); };
Expand Down

0 comments on commit c0b3880

Please sign in to comment.