-
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
Fix inconsistent restriction digest cutting behaviour #4638
base: master
Are you sure you want to change the base?
Conversation
Nevermind, it turned out one of the example listed sites should no longer be returned because it produced a cut where not both generated sequences were double strand. |
I would find this easier to read if the fix and the refactoring were done as two separate commits. Would that be easy to do in principle, and is your git knowledge up to it? (I've not looked at the change, nor quite how the refactoring works - but agree there was duplicated code) |
Hi @peterjc I splitted the change as you requested |
The refactoring as a separate commit is much clearer to me - thank you! |
Over to you @MarkusPiotrowski - this looks good to me from a style/technical point of view. |
Yes, I'll have a look at it. |
Hi @MarkusPiotrowski just following up on the review request. |
Hi @peterjc @MarkusPiotrowski this has been pending since February, not sure if you can find someone else to review the PR. The changes are fairly small: |
I hereby agree to dual licence this and any previous contributions under both
the Biopython License Agreement AND the BSD 3-Clause License.
I have read the
CONTRIBUTING.rst
file, have runpre-commit
locally, and understand that continuous integration checks will be used to
confirm the Biopython unit tests and style checks pass with these changes.
I have added my name to the alphabetical contributors listings in the files
NEWS.rst
andCONTRIB.rst
as part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)
Closes #4604
@peterjc I have also refactored the code, since there was some code repeated up to three times in the different
_drop
functions. Let me know if that makes sense.