-
Notifications
You must be signed in to change notification settings - Fork 74
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
Export cmd bugfixes #1148
Export cmd bugfixes #1148
Conversation
Equivalent class fails - ontodev#1145 Self-disjoint - ontodev#1144 Export Large excel - ontodev#1131
Simplified changes to Row to avoid creating unnecessary styles and fonts. Cleaned up Export Operation unhandled class expressions. Added and extended export tests
Just removing some printing rubbish
@dlutz2 thank you so much for your contribution! I will try to find a reviewer for this now, forgive use that it may take a bit of time. Your work is highly appreciated! |
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.
This is only a partial review now, because we have a big backlog for reviews. I asked a community member for a cursory review to get started, and this is what they said:
- The code does not follow, in some places at least, the “Google Java style” that is used by ROBOT.
- The fix for issue 1131 (export to Excel with > 64k rows) is only a partial one. The problem would still occur if there are more 64k rows with a non-null violationLevel, because the code still creates a new style for each cell in that case. That being said, the PR is a major improvement compared to the current situation where a new style is created for every cell, even those without a violation level. So I would still accept the fix while noting that it can be improved even further later on.
- For issue 1144, no comment except that (as already noted in the issue), maybe the proper fix belongs to the OWL API (the behaviour of EntitySearcher.getDisjointClasses() does seem wrong to me, or its documentation is misleading).
Let me know @dlutz2 what you think!
As an amendment to the above from our collaborator @gouttegd: ROBOT uses the For example:
This is also how the authors can fix their PR: all they have to do is to run |
Thanks for the review. |
Another bit: Is there anything I can do to make the review easier (e.g. smaller PRs?) or is it just a matter of time/attention of the reviewers? |
Regarding the formatting: if you’re using Eclipse, you may want to use the code style description file available here. This way Eclipse will automatically format the code using the expected style as you save it. Regarding the Excel issue: as I noted, the PR is already a major improvement over the current situation, so I personally would be fine with accepting it as it is and leave any further improvement for another PR. That being said, if you do want to try to improve it right now, then of course feel free to do so! |
Looks good! I'm very happy that we can now support up to 64k rows with violations, up from 64k total rows. If someone needs more than that, they can make another PR 😄. The additional tests are much appreciated! |
Resolves [#1145, resolves #1144, resolves #1131]
docs/
have been added/updated - no doc changes neededmvn verify
says all tests passmvn site
says all JavaDocs correctCHANGELOG.md
has been updated - minor changesfixes #1145 - removed case statement looking for "equivalent annotation property", added test exporting all named headers, added test ontology containing one of all OWL axioms and class expressions, plus some puns
fixes #1144 - removed self-disjoint entry in returned entities
fixes #1131 - refactored to avoid creating unnecessary styles and fonts, added matching test