Commit 2c109e44 authored by BibloLeHibou's avatar BibloLeHibou
Browse files

clone.js : correctio of bug in sliding nt between seg in export format

link to #2628
parent 4f7fb7a7
...@@ -737,13 +737,13 @@ Clone.prototype = { ...@@ -737,13 +737,13 @@ Clone.prototype = {
} }
var s = '' var s = ''
s += this.sequence.substring(0, this.seg['5'].stop) s += this.sequence.substring(0, this.seg['5'].stop+1)
s += '\n' s += '\n'
if (this.seg['5'].stop < this.seg['3'].start - 1) { if (this.seg['5'].stop+1 < this.seg['3'].start ) {
s += this.sequence.substring(this.seg['5'].stop, this.seg['3'].start - 1) s += this.sequence.substring(this.seg['5'].stop+1, this.seg['3'].start)
s += '\n' s += '\n'
} }
s += this.sequence.substring(this.seg['3'].start - 1) s += this.sequence.substring(this.seg['3'].start)
return s return s
}, },
......
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