Commit 7b9d893d authored by Ryan Herbert's avatar Ryan Herbert Committed by Mathieu Giraud

database.js remove redundant initClones

Simply a method that is called multiple times during the loading of
samples for seemingly no particular reason.
parent f0acb3fc
......@@ -399,7 +399,6 @@ Database.prototype = {
if (res.reads){
this.m.parseJsonData(result, 100)
this.m.loadGermline();
this.m.initClones()
this.load_analysis(args)
this.last_file = args
this.close()
......@@ -410,7 +409,6 @@ Database.prototype = {
//the json result look like a .analysis file so we load it
if (typeof res.clones != "undefined" && typeof res.reads == "undefined" ){
this.m.parseJsonAnalysis(result)
this.m.initClones()
}
//the json result contain a flash message
......
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