From b66c3ee4c697c6a55b72d611d6c123fc26314700 Mon Sep 17 00:00:00 2001 From: Oscar Esteban Date: Mon, 14 Oct 2024 20:50:59 +0200 Subject: [PATCH] fix: dereference twice schema files --- tools/schemacode/bidsschematools/schema.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/schemacode/bidsschematools/schema.py b/tools/schemacode/bidsschematools/schema.py index 8a51725f1b..ee7bb32bef 100644 --- a/tools/schemacode/bidsschematools/schema.py +++ b/tools/schemacode/bidsschematools/schema.py @@ -197,6 +197,7 @@ def load_schema(schema_path=None): if not schema.rules: raise ValueError(f"rules subdirectory path not found in {schema_path}") + dereference(schema) dereference(schema) flatten_enums(schema)