diff --git a/src/components/Workspace.tsx b/src/components/Workspace.tsx index 50ee0d2..4a14be0 100644 --- a/src/components/Workspace.tsx +++ b/src/components/Workspace.tsx @@ -171,6 +171,7 @@ const WorkspaceComponent: React.FC = ({ onChange={e => setExportType(e.target.value)} > + diff --git a/tvb_ext_ontology/handlers.py b/tvb_ext_ontology/handlers.py index 0418cde..8e2745d 100644 --- a/tvb_ext_ontology/handlers.py +++ b/tvb_ext_ontology/handlers.py @@ -144,6 +144,8 @@ def post(self): if export_type == "py": onto_api.experiment.save_code(directory) LOGGER.info("Saved code") + elif export_type == "jl": + onto_api.experiment.save_model_bifurcation_analysis_code(directory) elif export_type == "xml": onto_api.experiment.save_model_specification(directory) LOGGER.info("Saved model specification") @@ -247,7 +249,7 @@ def construct_metadata(nodes_data): """ metadata = { "model": { - "label": custom_get(nodes_data, "model", "Generic2dOscillator"), + "name": custom_get(nodes_data, "model", "Generic2dOscillator"), "parameters": {}, }, "connectivity": {