Repository navigation
Development - #71
Merged
Merged
Development#71
Conversation
validate_alignments removes sequences that are left with no residues after trimming, and logged each removal by looking the hash up in dict_hash_id. That dictionary is initialized empty and never populated, so the lookup always raised KeyError and killed the run at the very end of alignment validation. The branch only became reachable in 6d151a8, which fixed the membership test that had silently guarded it (a hash string was compared against a list of Funinfo objects, so it was never true). Take the id from the Funinfo being removed instead of any dictionary, and add regression tests covering the removal, the warning text, the rewritten trimmed alignment, and the untouched-alignment case. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EZTJs2CAFcHw9Ye4k7p9Mx
hasher.decode opened both the hashed input and the decoded output with the platform default encoding. On a cp949 (Korean) Windows console, any non-ASCII character in a sequence name, such as an accented author name, raised UnicodeEncodeError while writing, so decoding trees, SVGs and alignments crashed the run. CI never saw it because Linux and macOS default to UTF-8. Pin both ends to UTF-8, and read and write the test fixtures the same way so the round-trip test exercises the real contract on any locale. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EZTJs2CAFcHw9Ye4k7p9Mx
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EZTJs2CAFcHw9Ye4k7p9Mx
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.
No description provided.