Commit 3e871bdb authored by Armand Bour's avatar Armand Bour Committed by Mathieu Giraud
Browse files

Implement sequence replacing

parent b1c38b36
......@@ -42,6 +42,7 @@ function Clone(data, model, index, virtual) {
this[key[i]]=data[key[i]]
}
// Default value just in case
if (this.quantifiable == undefined) {
this.quantifiable = true;
}
......
......@@ -2332,12 +2332,13 @@ changeCloneNotation: function(cloneNotationType) {
data: {
sequences: sequences
},
// dataType: "json",
success: function (data) {
data.clones.forEach(function (clone) {
clone.quantifiable = false;
});
self.parseJsonData(data, 100);
self.loadGermline();
self.initClones();
console.log({ msg: "Clone(s) added!", type: "flash", priority: 1 })
},
error: function (xhr, textStatus, errorThrown) {
......
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