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
Changing createNeighbors to omit redundant genus in equivalence axiom… #177
Conversation
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.
@cmungall I'm still getting three parents for GO:1902401.
This test, for graph/neighbors-test.obo: // 2 axioms for f7: // f7 = f5 and p some f6 // f7 SubClassOf f1 Previously the test assumed f7 is_a f5 was desired as a direct neighbor, in fact it is not. The main code now correct omits f5, this commit fixes the test to be in line with this
Note that previously tests were failing, meaning `mvn clean install`
wouldn't have made a new jar.
The tests were failing as they were overfitting for the case we now want
to avoid. Fixed tests coming up as soon as I'm off BART...
…On 10 Mar 2017, at 18:21, kltm wrote:
kltm requested changes on this pull request.
@cmungall I'm still getting three parents for GO:1902401.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#177 (review)
|
odd, 2490d2c should have failed. |
Add a test explicitly for
|
Are the tests now catching this? |
Yes: owltools/OWLTools-Core/src/test/java/owltools/graph/OWLGraphWrapperEdgesAdvancedTest.java Line 151 in 46ba478
so the code is functioning as expected, and does not include the redundant genus term |
So the test is passing (with a cut down ontology load?), but my loads still have the errant third edge? Hm. |
not sure what you mean about the cli query... |
Just trying to find a way to test/probe it without having to load the full ontology set. |
I find it easiest to do ad-hoc tests using |
…, see geneontology/amigo#360