-
Notifications
You must be signed in to change notification settings - Fork 379
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
#944 testcoverage #998
#944 testcoverage #998
Conversation
Some comments to the code behaviour:
Indeed the super() call seems to be missing. In order not to change the interface I'd catch the In any case, throwing
Sounds like a good solution to me
Sounds good too. Would that be a breaking change? |
Yes, I agree, it's quite annoying to deal with, maybe there can be validateSequence method that asserts a sequence is compliant with a particular compound set, and then we throw IAEs instread. But I will implement your suggestion.
I'll add a new constructor to take an accessionID, and deprecate existing constructor . So it will remain compatible
|
that's the 3 sets of changes now. I'll add in a few more tests now those issues are settled. |
I've added tests now to cover >=50% method coverage of used classes in o.b.n.core.sequence package - could we move to merging this PR now? Re the unexpected behaviour reported in the first post to this PR I'd suggest raising these as separate issues. |
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.
Thanks @richarda23 . LGTM.
I'd agree about merging this in ASAP and making it part of 6.0.4
These are additional tests for biojava-core o.b.n.core.sequence package for issue #944 . A number of tests are annotated 'Disabled' as they suggest some bugs or unexpected behaviour. There are two sorts of issues - the biological behaviour, and the code structure.
These tests are not fully completed, but I'm raising this PR now so as to get feedback/suggestions on what to do. It might just be that I'm not using the classes properly