Commit 5f209f5f authored by flothoni's avatar flothoni Committed by Mathieu Giraud

clone.js; fix jshint error

parent 0db8ca50
......@@ -332,10 +332,11 @@ Clone.prototype = {
var best_seq = []
var best_rst = []
var best_score = 0
var sequence;
// Look for perfect match in clone sequence
for (var seq_pos = 0; seq_pos < sequences.length; seq_pos++) {
var sequence = sequences[seq_pos]
sequence = sequences[seq_pos]
if (this.sequence.indexOf(sequence) != -1) {
best_seq.push(sequence)
}
......@@ -354,7 +355,7 @@ Clone.prototype = {
germseq = this.getExtendedSequence(gene_way)
if (germseq != undefined){
for (seq_pos = 0; seq_pos < sequences.length; seq_pos++) {
var sequence = sequences[seq_pos]
sequence = sequences[seq_pos]
var rst = bsa_align(true, germseq, sequence, [1, -2], [-2, -1])
if (rst[0] > best_score){
best_seq = [sequence]
......
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