Skip to content

Commit

Permalink
fix: dereference twice schema files
Browse files Browse the repository at this point in the history
  • Loading branch information
oesteban committed Oct 14, 2024
1 parent 44c3ad8 commit b66c3ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/schemacode/bidsschematools/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b66c3ee

Please sign in to comment.