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 eece5c5 commit 1a7ecd9Copy full SHA for 1a7ecd9
tools/schemacode/bidsschematools/data/tests/test_rules.py
@@ -87,6 +87,11 @@ def test_rule_objects(schema_obj):
87
88
# Build a list of items mentioned in rules, but not found in objects.
89
if use not in object_values:
90
+ if (use, object_type) == ("phenotype", "datatypes"):
91
+ # Special case: phenotype is a top-level directory
92
+ # that acts like a datatype, but we don't want to
93
+ # define it that way in the glossary, currently.
94
+ continue
95
temp_path = path[:]
96
if is_list:
97
temp_path[-1] += f"[{i_use}]"
0 commit comments