-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Issue 797 #803
Issue 797 #803
Conversation
Current coverage is
|
Alternative solution which does not change the What do you think @ctSkennerton? Yours seems a better long term choice as avoids code duplication. |
I'm against duplicated code as the number of people that a looking at Having said that, I think adding I see your comment in |
A more elegant fix would be to extend the |
Yeah I think that is a nice approach but would require rewriting a bunch of the SQL statements. I think for now it would be best to keep it simple and not duplicate the code and then down the track think about adding it in. |
Squashed commit of pull request biopython#803, closes issue biopython#797. Long term the DBSeqRecord could implement __getitem__, perhaps by extending __init__ to include start/end options (default to the full record) and acting as a windowed view of the full record (e.g. loading only selected features on demand).
Same changes as #801 minus the change in doctest that I couldn't figure out how to fix
Implements a solution to #797 by checking for
DBSeqRecord
and explicitly returningSeqRecord