Commit 9609aad7 authored by Mikael Salson's avatar Mikael Salson

clone.js: reindent

Indent consistency should be preferred
parent 3acca48a
Pipeline #48420 passed with stages
in 4 minutes and 52 seconds
...@@ -448,17 +448,17 @@ Clone.prototype = { ...@@ -448,17 +448,17 @@ Clone.prototype = {
*/ */
getLocus: function () { getLocus: function () {
var locus = this.get('germline') var locus = this.get('germline')
if (typeof this.m.germline[locus] === "undefined") { if (typeof this.m.germline[locus] === "undefined") {
var loci = [this.getGene("5").substring(0,3), this.getGene("3").substring(0,3) ] var loci = [this.getGene("5").substring(0,3), this.getGene("3").substring(0,3) ]
locus = loci[0] locus = loci[0]
if (loci[0] != loci[1]) { if (loci[0] != loci[1]) {
console.log("Clone " + this.getName() + "recombines sequences from two separate loci. Using: " + locus) console.log("Clone " + this.getName() + "recombines sequences from two separate loci. Using: " + locus)
}
} }
}
return locus return locus
}, },
/** /**
......
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