Skip to content
Snippets Groups Projects
Commit a44b85bf authored by Juan Fuentes's avatar Juan Fuentes
Browse files

Bugfix generating Jupyter notebooks from the ELN

parent 55191427
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,7 @@ var JupyterUtil = new function() {
if(dataSets[cIdx].sample) {
content.push(this.getCodeCell(["s" + cIdx + " = o.get_object('" + dataSets[cIdx].sample.permId.permId + "')\n", "s" + cIdx ]));
} else if(dataSets[cIdx].experiment) {
content.push(this.getCodeCell(["s" + cIdx + " = o.get_experiment('" + dataSets[cIdx].sample.permId.permId + "')\n", "s" + cIdx + ".attrs" ]));
content.push(this.getCodeCell(["s" + cIdx + " = o.get_experiment('" + dataSets[cIdx].experiment.permId.permId + "')\n", "s" + cIdx + ".attrs" ]));
}
content.push(this.getMarkdownCell("Dataset " + dataSetIds[cIdx] + ":"));
content.push(this.getCodeCell(["ds" + cIdx + " = o.get_dataset('" + dataSetIds[cIdx] + "')\n", "ds" + cIdx + ".attrs" ]));
......
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