Skip to content

Commit b81a8e9

Browse files
Update test_specific_cases.py
Fixed test (added loosened constraint)
1 parent e22a1da commit b81a8e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_specific_cases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,5 +342,5 @@ def test_large_selfies_decoding():
342342
def test_novel_charged_symbols():
343343
"""Test decoding of updated constraints for charged atoms (update in 2.2.0)."""
344344
assert decode_eq("[N][#C+1][#NH1][#C@H1]", "N#[C+1]")
345-
assert decode_eq("[O+1][=P+1][#P-1][#C@@]", "[O+1]=[P+1]=[P-1]=[C@@]")
345+
assert decode_eq("[O+1][=P+1][#P-1][#C@@]", "[O+1]=[P+1]=[P-1]#[C@@]")
346346
assert decode_eq("[=C-1][#S+1][#B]", "[C-1]#[S+1]=B")

0 commit comments

Comments
 (0)