Repository navigation
Conversation
cmccoy
commented
May 7, 2011
- ValueError raised on duplicate sequence ID in PhylipWriter now identifies the (possibly truncated) problematic sequence ID
- Added a simple test - not quite sure how to integrate with BioPython test suite - let me know if that should be changed.
* ValueError raised on duplicate sequence ID in PhylipWriter now identifies the (possibly truncated) problematic sequence ID * Added a simple test.
|
Hi Conner, I did wonder about making this error message more helpful at the time, but went for the easy option. I have cherry-picked your commit: I also made a subsequent change - while reviewing your change, I noticed and fixed an old bug in this area: For future reference, try and run the full test suite - especially for SeqIO/AlignIO changes since these are interlinked: Thanks, Peter |
|
Hi Peter, Thanks; sorry for the test oversight. I'll run the whole suite next time. Best, |
|
What I forgot to do too, was run it on Python 3. The exception test needs fixing (I'll do it), e.g |
|
|
||
| #Check Phylip files reject duplicate identifiers. | ||
| def check_phylip_reject_duplicate(): | ||
| """ |
There was a problem hiding this comment.
Can you follow PEP257 with a single (short) one line summary for the docstring?
There was a problem hiding this comment.
Never mind, I clicked on a wrong link and though this was a live pull request. Sorry.
Replace deprecated method