Skip to content

Commit

Permalink
Fixes after new versions of dependencies (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
avaucher authored Jul 13, 2023
1 parent 1cd9b9c commit 45a7a75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ zip_safe = False
include_package_data = True
install_requires =
attrs>=21.2.0
click>=7.0
click>=7.0,<8.1.4
rxn-utils>=1.1.9

[options.packages.find]
Expand Down
6 changes: 3 additions & 3 deletions tests/test_multicomponent_smiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ def test_canonicalize_multicomponent_smiles() -> None:

# with fragment bond; may fail if fragment bond not specified
assert (
canonicalize_multicomponent_smiles("C.[Na+]~[H-].O", fragment_bond="~")
== "C.[H-]~[Na+].O"
canonicalize_multicomponent_smiles("C.[H-]~[F-]~[Mg+2].O", fragment_bond="~")
== "C.[F-]~[H-]~[Mg+2].O"
)
with pytest.raises(InvalidSmiles):
_ = canonicalize_multicomponent_smiles("C.[Na+]~[H-].O")
_ = canonicalize_multicomponent_smiles("C.[H-]~[F-]~[Mg+2].O")

# possibility to check valence or not
assert (
Expand Down

0 comments on commit 45a7a75

Please sign in to comment.