Add the annotator to the list of valid keywords
1 unresolved thread
1 unresolved thread
related to bob.bio.face!41 (merged)
Merge request reports
Activity
131 131 if os.path.isfile(resource): 132 132 return read_config_file([resource], keyword) 133 133 134 if keyword not in valid_keywords: 135 raise ValueError("The given keyword '%s' is not valid. Please use one of %s!" % (str(keyword), str(valid_keywords))) 136 This test is mainly because I want to make sure that keywords are not misspelled. If you do not have this test, the error message will be very cryptic: https://gitlab.idiap.ch/bob/bob.bio.base/blob/317a66e6cf6102c83f743395d71c69e6227fb889/bob/bio/base/utils/resources.py#L178
I have spent some time debugging one such issue, where I simply had misspelled one of the keywords.
changed this line in version 2 of the diff
Please register or sign in to reply