Skip to content
Snippets Groups Projects
Commit 3c011517 authored by Cyril  NERIN's avatar Cyril NERIN
Browse files

FIX #92 FEAT #93

parent 74c6ccfc
No related branches found
No related tags found
No related merge requests found
......@@ -114,6 +114,7 @@
phe['chromosome'] = chromosome;
phe['start'] = start;
phe['end'] = end;
phe['to_init'] = 1;
var The_Project = "/api/local_projects";
}
else{
......@@ -145,9 +146,26 @@
else if(status == "CREATING"){
setTimeout(getProjectStatus, 10000);
}
});
else if(status == "ERROR"){
$.unblockUI();
var idProject = data.id;
$.get("/api/projects/" + idProject + "/error_msg", function( data2 ) {
var User_Message3 = "An error has occurred: please check your data \n " + data2;
alert(User_Message3);
});
}
});
};
getProjectStatus();
if (Local_Analysis == true) {
$.post( "/api/local_projects", phe).done(function(data1) {
phe['to_init'] = 0;
getProjectStatus();
});
}
else {
getProjectStatus();
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment