-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NEAT-36] Sanitize Errors. #287
Conversation
|
||
|
||
@dataclass | ||
class Issue: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the name of the class :)
"Metadata": parse_owl_metadata(graph, make_compliant=make_compliant), | ||
"Classes": parse_owl_classes(graph, make_compliant=make_compliant), | ||
"Properties": parse_owl_properties(graph, make_compliant=make_compliant), | ||
"Metadata": parse_owl_metadata(graph, make_compliant=self.make_compliant), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nice
raise MetadataSheetMissingOrFailedValidation() from None | ||
else: | ||
raise UserWarning("Metadata sheet is missing or failed validation") from e | ||
issues.append(MetadataSheetMissingOrFailedValidationError()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
747ce7f
to
d4be05b
Compare
inconsistency container definitons
ExcelImporter
to have option for returning all validation issues.float32
in_DMS_TYPES