Skip to content

Commit

Permalink
Update test_specific_cases.py
Browse files Browse the repository at this point in the history
Fixed test (added loosened constraint)
  • Loading branch information
MarioKrenn6240 authored Dec 31, 2024
1 parent e22a1da commit b81a8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_specific_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,5 +342,5 @@ def test_large_selfies_decoding():
def test_novel_charged_symbols():
"""Test decoding of updated constraints for charged atoms (update in 2.2.0)."""
assert decode_eq("[N][#C+1][#NH1][#C@H1]", "N#[C+1]")
assert decode_eq("[O+1][=P+1][#P-1][#C@@]", "[O+1]=[P+1]=[P-1]=[C@@]")
assert decode_eq("[O+1][=P+1][#P-1][#C@@]", "[O+1]=[P+1]=[P-1]#[C@@]")
assert decode_eq("[=C-1][#S+1][#B]", "[C-1]#[S+1]=B")

0 comments on commit b81a8e9

Please sign in to comment.