Commit 7a3349d2 authored by aurelien beliard's avatar aurelien beliard Committed by Mathieu Giraud
Browse files

correct bug described in issu #2681

parent f68f7018
......@@ -624,14 +624,7 @@ changeAlleleNotation: function(alleleNotation) {
if (this.normalization.size_list.length !== 0 && this.normalization.size_list[time] !== 0) {
var A = this.normalization.size_list[time] /* standard/spike at point time */
var B = this.normalization.expected_size /* standard/spike expected value */
if (original_size <= A){
normalized_size = (original_size * B) / A
}
// }else{
// normalized_size = B + ( (original_size - A) * ( (1 - B) / (1 - A) ) )
// }
normalized_size = (original_size * B) / A
}else{
normalized_size = 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