Skip to content

Commit 6ff4cfb

Browse files
committed
[validation.py] Register Handler for Property Value Check
1 parent ca77e62 commit 6ff4cfb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

odml/validation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,3 +385,6 @@ def property_values_check(prop):
385385
except ValueError:
386386
msg = "Property values not of consistent dtype!"
387387
yield ValidationError(prop, msg, LABEL_WARNING)
388+
389+
390+
Validation.register_handler('property', property_values_check)

0 commit comments

Comments
 (0)