Commit 9609aad7 authored by Mikaël Salson's avatar Mikaël 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 = {
*/
getLocus: function () {
var locus = this.get('germline')
var locus = this.get('germline')
if (typeof this.m.germline[locus] === "undefined") {
var loci = [this.getGene("5").substring(0,3), this.getGene("3").substring(0,3) ]
locus = loci[0]
if (loci[0] != loci[1]) {
console.log("Clone " + this.getName() + "recombines sequences from two separate loci. Using: " + locus)
if (typeof this.m.germline[locus] === "undefined") {
var loci = [this.getGene("5").substring(0,3), this.getGene("3").substring(0,3) ]
locus = loci[0]
if (loci[0] != loci[1]) {
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