Commit 09ec2c71 authored by Thonier Florian's avatar Thonier Florian

clone.js, bug fix in getSegNtSequence (1based variation)

link to #3488
parent ed299a22
......@@ -273,7 +273,7 @@ Clone.prototype = {
getSegNtSequence: function(field_name) {
positions = this.getSegStartStop(field_name)
if (positions !== null) {
return this.sequence.substr(positions.start-1, positions.stop - positions.start+1)
return this.sequence.substr(positions.start, positions.stop - positions.start+1)
}
return '';
},
......
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