Commit 9debc3fb authored by Thonier Florian's avatar Thonier Florian Committed by Mikaël Salson

model.js; minor fix for quality jshint

Link to #3943
parent 532f8f0d
......@@ -699,10 +699,10 @@ changeAlleleNotation: function(alleleNotation) {
* if raw is defined, do not normalize
*/
normalize_reads: function(clone, time, raw) {
if (this.normalization_mode == this.NORM_EXTERNAL
&& clone.normalized_reads != undefined
&& clone.normalized_reads[time] != null
&& raw == undefined) {
if (this.normalization_mode == this.NORM_EXTERNAL &&
clone.normalized_reads != undefined &&
clone.normalized_reads[time] != null &&
raw == undefined) {
return clone.normalized_reads[time] ;
} else {
return clone.reads[time] ;
......
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