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 9be6388 commit eadb62dCopy full SHA for eadb62d
src/mavedb/lib/validation/keywords.py
@@ -13,7 +13,7 @@ def validate_code(key: str, label: str, code: Optional[str]):
13
raise ValidationError("Invalid Gene Ontology accession.")
14
15
16
-# TODO: value will not be Optional when we confirm the final controlled keyword list.
+# TODO: label will not be Optional when we confirm the final controlled keyword list.
17
def validate_description(label: str, key: str, description: Optional[str]):
18
if label.lower() == "other" and (description is None or description.strip() == ""):
19
raise ValidationError(
0 commit comments