Repository navigation
Prevent side-effect in SeqRecord._per_letter_annotations - #5031
Merged
peterjc merged 2 commits intoJul 24, 2025
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5031 +/- ##
==========================================
+ Coverage 85.45% 86.34% +0.89%
==========================================
Files 286 286
Lines 59851 59853 +2
==========================================
+ Hits 51144 51680 +536
+ Misses 8707 8173 -534 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
peterjc
reviewed
Jul 18, 2025
|
|
||
| # _per_letter_annotations is lazily initialized when | ||
| # letter_annotations is accessed, so do nothing if uninitialized. | ||
| # See issue #5015 |
Member
There was a problem hiding this comment.
I would drop this comment line - we have git blame, and the comment and test alone are clear.
Contributor
Author
There was a problem hiding this comment.
Thanks. I just pushed another commit which does that.
peterjc
approved these changes
Jul 18, 2025
michaelfm1211
force-pushed
the
fix-_per_letter_annotations
branch
from
July 18, 2025 23:05
04bfcb3 to
9edecd4
Compare
Contributor
Author
|
@peterjc Is this ready for merge? |
peterjc
reviewed
Jul 24, 2025
Member
|
OK @mdehoon? |
mdehoon
approved these changes
Jul 24, 2025
peterjc
enabled auto-merge (rebase)
July 24, 2025 16:59
Contributor
|
Thanks for the fix! Really appreciated |
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements @mdehoon's suggestion to fix #5015.
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.rstfile, have runpre-commitlocally, 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.rstandCONTRIB.rstas part of this pull request, am listedalready, or do not wish to be listed. (This acknowledgement is optional.)
Closes #5015