We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc4de69 commit 35ff261Copy full SHA for 35ff261
tools/schemacode/bidsschematools/data/tests/test_rules.py
@@ -92,6 +92,11 @@ def test_rule_objects(schema_obj):
92
93
# Build a list of items mentioned in rules, but not found in objects.
94
if use not in object_values:
95
+ if (use, object_type) == ("phenotype", "datatypes"):
96
+ # Special case: phenotype is a top-level directory
97
+ # that acts like a datatype, but we don't want to
98
+ # define it that way in the glossary, currently.
99
+ continue
100
temp_path = path[:]
101
if is_list:
102
temp_path[-1] += f"[{i_use}]"
0 commit comments