We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68eac0d commit 675f81aCopy full SHA for 675f81a
1 file changed
tests/python/test_edge_cases.py
@@ -72,10 +72,11 @@ def test_large_sequence_count(self):
72
def test_ambiguous_nucleotides(self):
73
"""Test sequences with ambiguous nucleotides."""
74
ambiguous = ["ATCGN", "ATCGY", "ATCGR"]
75
- # This might raise an error or handle gracefully
+ # Use auto-detection since ambiguous nucleotides might be detected as protein
76
try:
77
- aligned = kalign.align(ambiguous, seq_type="dna")
+ aligned = kalign.align(ambiguous) # Let kalign auto-detect the type
78
assert len(aligned) == 3
79
+ # Should handle gracefully with auto-detection
80
except (ValueError, RuntimeError):
- # Expected for invalid characters
81
+ # Some ambiguous characters might still cause issues
82
pass
0 commit comments