Skip to content
Snippets Groups Projects
Commit c8dcc549 authored by Alexander Schlemmer's avatar Alexander Schlemmer
Browse files

ENH: added stub for data analysis module

parent 5ab2af0e
No related branches found
No related tags found
No related merge requests found
function runCorrAnalysis(entity_id) {
console.log(entity_id);
connection.runScript("", {"-Oentity": entity_id});
}
var ents = getEntities();
for (ent of ents) {
var parents = getParents(ent);
if (parents.length > 0 && parents[0].name == "") {
var button = $("<button>Data Analysis</button>");
button.click((function(entity_id){return()=>runCorrAnalysis(entity_id);})(getEntityID(ent)));
$(ent).find(".caosdb-v-entity-header-buttons-list").prepend(button);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment