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 5c2d120 commit f537b3dCopy full SHA for f537b3d
cubids/cubids.py
@@ -1061,8 +1061,10 @@ def get_param_groups_from_entity_set(self, entity_set):
1061
matching_files = self.layout.get(
1062
return_type="file", scope="self", regex_search=True, **key_entities
1063
)
1064
+ if not matching_files:
1065
+ raise Exception(f"No files found for entity set: {entity_set}")
1066
- # ensure files who's entities contain key_entities but include other
1067
+ # ensure files whose entities contain key_entities but include other
1068
# entities do not also get added to matching_files
1069
to_include = []
1070
for filepath in matching_files:
0 commit comments