Hide just default alphabet in Seq __repr__ #1687
Merged
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.
This pull request addresses issue #1674, taking part of the work on #1676, which expanded in scope to remove the alphabet from the Seq-objects'
__repr__
completely.This only hides the alphabet if it is the default alphabet. I would like to include this in Biopython 1.72
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 and understand that AppVeyor and TravisCI will be used to confirm the Biopython unit tests andflake8
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 listed already, or do not wish to be listed. (This acknowledgement is optional.)