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

Problem with InvalidReferenceViolations on all axioms with deprecated subjects #567

Closed
jamesaoverton opened this issue Sep 12, 2019 · 3 comments

Comments

@jamesaoverton
Copy link
Member

With the 1.4.2 release we're seeing new InvalidReferenceViolation errors on all axioms on deprecated subjects. This includes the deprecated annotation itself:

ERROR org.obolibrary.robot.ReasonOperation - Reference violation: InvalidReferenceViolation [axiom=AnnotationAssertion(owl:deprecated <http:
  //purl.obolibrary.org/obo/OBI_0000898> "true"^^xsd:boolean), referencedObject=<http://purl.obolibrary.org/obo/OBI_0000898>, category=DEPRECATED]

I didn't notice when I checked the release because there's already way too much noise from InvalidReferenceViolations in the ontologies I care about (#259, #374). But now there are so many errors that DO's Travis is failing because the log file is too large.

I think the new behaviour comes from this line:

https://github.com/ontodev/robot/blame/master/robot-core/src/main/java/org/obolibrary/robot/checks/InvalidReferenceChecker.java#L91

which was introduced in #510. It goes away when I revert to axiom.getSignature().

@balhoff Is that line critical to the functionality of #510, or can we revert it?

@jamesaoverton jamesaoverton changed the title InvalidReferenceViolations on all axioms with deprecated subjects Problem with InvalidReferenceViolations on all axioms with deprecated subjects Sep 12, 2019
@jamesaoverton
Copy link
Member Author

Answering my own question: yes reverting that would break the functionality of #510.

Now I'm thinking of just suppressing the error logging for certain violations, around https://github.com/ontodev/robot/blob/master/robot-core/src/main/java/org/obolibrary/robot/ReasonOperation.java#L508

@balhoff
Copy link
Contributor

balhoff commented Sep 12, 2019

Aargh, sorry about this!

@jamesaoverton
Copy link
Member Author

Mitigated by #568, released in 1.4.3.

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

No branches or pull requests

2 participants