Skip to content

Commit

Permalink
Retab [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Sep 21, 2018
1 parent 09a391b commit 1fbe0c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/JBrowse/Store/SeqFeature/IndexedStatsEstimationMixin.js
Expand Up @@ -13,11 +13,11 @@ return declare( GlobalStats, {
refseq = refseq || this.refSeq
let featCount
if (this.indexedData) {
featCount = this.indexedData.featureCount(refseq.name);
featCount = this.indexedData.featureCount(refseq.name);
} else if (this.bam) {
const chr = this.browser.regularizeReferenceName(refseq.name)
const chrId = this.bam.chrToIndex && this.bam.chrToIndex[chr]
featCount = await this.bam.index.lineCount(chrId, true)
featCount = await this.bam.index.lineCount(chrId, true)
}
if (featCount == -1) {
return this.inherited('_estimateGlobalStats', arguments)
Expand Down

0 comments on commit 1fbe0c3

Please sign in to comment.