gramene-bins-client
Advanced tools
Comparing version 2.2.13 to 2.2.14
{ | ||
"name": "gramene-bins-client", | ||
"version": "2.2.13", | ||
"version": "2.2.14", | ||
"description": "Provide API for working with gene distribution bins provided by data.gramene.org/genes", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -208,3 +208,3 @@ 'use strict'; | ||
var nbins = countBins(binSize); | ||
if (nbins > binsPerGenome) { | ||
if (nbins > binsPerGenome && binsPerGenome > genome.regionCount()) { | ||
var a = Math.floor(genome.assembledGenomeSize / (binsPerGenome - genome.regionCount())); | ||
@@ -211,0 +211,0 @@ var b = binSize; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1077470
17