Commit 846b0abb authored by Mathieu Giraud's avatar Mathieu Giraud

js/model.js: NORM_EXTERNAL, round after division

parent 68ada44e
...@@ -687,7 +687,7 @@ changeAlleleNotation: function(alleleNotation) { ...@@ -687,7 +687,7 @@ changeAlleleNotation: function(alleleNotation) {
return original_size return original_size
} }
} else if (this.normalization_mode == this.NORM_EXTERNAL && normalized_reads != undefined){ } else if (this.normalization_mode == this.NORM_EXTERNAL && normalized_reads != undefined){
return Math.round(normalized_reads[time]) / this.reads.segmented[time] ; return Math.round(normalized_reads[time] / this.reads.segmented[time]) ;
} }
return original_size return original_size
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment