Commit ddfccd49 authored by HERBERT Ryan's avatar HERBERT Ryan
Browse files

database.js initClones before loadGermline

Switched order of these two operations.
The reason being that initClones() is now responsible for calling a
conversion function on clone seg information in order to maintain
support for older files after the standard for seg definition has been
changed.
loadGermline() depends on seg information to determine which axis should
be created and its label.
parent 82aaa3f6
......@@ -302,8 +302,8 @@ Database.prototype = {
//the json result look like a .vidjil file so we load it
if (res.reads){
m.parseJsonData(result, 100)
m.loadGermline();
m.initClones()
m.loadGermline();
this.load_analysis(args)
this.last_file = args
this.close()
......
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