Skip to content

Commit

Permalink
reset the m.G to be an empty dict instead of being None (test_graph_f…
Browse files Browse the repository at this point in the history
…rom_atomic_coordinates_perceptio, line 170)
  • Loading branch information
Jnelen committed Mar 4, 2024
1 parent 5b44a54 commit 227d0ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_molecule.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def test_graph_from_atomic_coordinates_perception(
m = copy.deepcopy(mol)

delattr(m, "adjacency_matrix")
m.G = None
m.G = {}

with pytest.warns(UserWarning):
# Uses automatic bond perception
Expand Down

0 comments on commit 227d0ab

Please sign in to comment.