Skip to content
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

Suppress logging for selected InvalidReferenceViolations #568

Merged
merged 2 commits into from
Sep 12, 2019

Conversation

jamesaoverton
Copy link
Member

Draft of a fix for #567, also addresses #374, but it's a bit of a hack.

This suppresses error logging for InvalidReferenceViolations that I don't care about. The count of invalid references is the total, including suppressed, which will cause confusion. It would be cleaner to stop classifying these as violations at the source, or have a way to classify violations with more granularity.

The problem is that we care about different "violations" in different contexts. Repair now wants to see annotations on deprecated subjects as violations, but even deprecated subjects need a deprecation annotation and a label -- arguably any annotation should be fine.

I'm also suppressing errors for subClassOf ObsoleteClass and a few others, to satisfy #374. Arguably these are real violations, but with the ontologies I care about I don't want to see these.

I'm not sure what the best solution is.

@balhoff
Copy link
Contributor

balhoff commented Sep 12, 2019

I think this makes sense. I would love to stop seeing violations reported for subclass of owl:Thing. Thanks for taking care of my mess.

@jamesaoverton
Copy link
Member Author

Thanks @balhoff, no worries. I should have caught the problem.

I'm leaning toward just merging this quick fix, releasing a 1.4.3, and sorting the rest out later. Thoughts? @beckyjackson @cmungall

@beckyjackson
Copy link
Contributor

That sounds good to me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants