Commit 5634614e authored by Thonier Florian's avatar Thonier Florian

segmenter.js; don't use clone ID as default replacment of sequence

Link to #3945 & #3960
parent 12f7f950
Pipeline #89402 failed with stages
in 1 second
...@@ -1495,7 +1495,7 @@ Sequence.prototype = Object.create(genSeq.prototype); ...@@ -1495,7 +1495,7 @@ Sequence.prototype = Object.create(genSeq.prototype);
str = typeof str !== 'undefined' ? str : this.m.clone(this.id).sequence; str = typeof str !== 'undefined' ? str : this.m.clone(this.id).sequence;
if (typeof this.m.clone(this.id).sequence == 'undefined' || this.m.clone(this.id).sequence === 0) { if (typeof this.m.clone(this.id).sequence == 'undefined' || this.m.clone(this.id).sequence === 0) {
str = this.m.clone(this.id).id str = "" // By default don't show ID as sequence if clone haven't sequence content
} }
this.seq = str.split("") this.seq = str.split("")
......
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