From df99b53c57b01c998a6adf8f0b0f180f9021b255 Mon Sep 17 00:00:00 2001 From: leon-k-martin Date: Mon, 30 Sep 2024 16:25:51 +0200 Subject: [PATCH] Refactor construct_metadata function to update coupling label to name --- tvb_ext_ontology/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tvb_ext_ontology/handlers.py b/tvb_ext_ontology/handlers.py index 8e2745d..8f85b5c 100644 --- a/tvb_ext_ontology/handlers.py +++ b/tvb_ext_ontology/handlers.py @@ -263,7 +263,7 @@ def construct_metadata(nodes_data): }, }, "coupling": { - "label": custom_get(nodes_data, "coupling", "Linear"), + "name": custom_get(nodes_data, "coupling", "Linear"), }, "integration": { "method": custom_get(nodes_data, "integrationMethod", "Heun"),