We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From frederic...@gmail.com on May 31, 2013 06:39:28
Hi,
OWLGraphEdges returned by method such as getIncomingEdges or getOutgoingEdges have no ontology set (getOntology() returns null).
This is problematic when trying to remove or add axioms based on such OWLGraphEdges. For instance:
OWLSubClassOfAxiom ax = factory.getOWLSubClassOfAxiom((OWLClassExpression) edge.getSource(), (OWLClassExpression) edgeToTargetExpression(edge)); RemoveAxiom remove = new RemoveAxiom(edge.getOntology(), ax); manager.applyChange(remove); //fail with exception: //org.semanticweb.owlapi.model.ImmutableOWLOntologyChangeException: Cannot apply changes to immutable ontology: null
It would be great if the returned OWLGraphEdges had their ontology attribute set.
Original issue: http://code.google.com/p/owltools/issues/detail?id=66
The text was updated successfully, but these errors were encountered:
From frederic...@gmail.com on November 20, 2013 12:42:50
Fixed by revision r1764 .
Status: Fixed
Sorry, something went wrong.
No branches or pull requests
From frederic...@gmail.com on May 31, 2013 06:39:28
Hi,
OWLGraphEdges returned by method such as getIncomingEdges or getOutgoingEdges have no ontology set (getOntology() returns null).
This is problematic when trying to remove or add axioms based on such OWLGraphEdges. For instance:
OWLSubClassOfAxiom ax = factory.getOWLSubClassOfAxiom((OWLClassExpression) edge.getSource(), (OWLClassExpression) edgeToTargetExpression(edge));
RemoveAxiom remove = new RemoveAxiom(edge.getOntology(), ax);
manager.applyChange(remove);
//fail with exception:
//org.semanticweb.owlapi.model.ImmutableOWLOntologyChangeException: Cannot apply changes to immutable ontology: null
It would be great if the returned OWLGraphEdges had their ontology attribute set.
Original issue: http://code.google.com/p/owltools/issues/detail?id=66
The text was updated successfully, but these errors were encountered: