Skip to content

Commit

Permalink
Merge pull request #185 from marrink-lab/fix-deprecations
Browse files Browse the repository at this point in the history
Fix deprecation warnings
  • Loading branch information
pckroon committed Feb 13, 2019
2 parents 8aa2f53 + 3429558 commit d361836
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vermouth/tests/gmx/test_gro.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def assert_molecule_equal(molecule, reference):


@st.composite
def generate_dict(draw, min_size=None):
def generate_dict(draw, min_size=0):
"""
Strategy to generate an arbitrary dictionary.
"""
Expand Down
2 changes: 1 addition & 1 deletion vermouth/tests/test_ismags.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def test_broken_edgecase():
invalid coupling, losing out on a permutation.
"""
graph = nx.Graph()
graph.add_path(range(5))
nx.add_path(graph, range(5))
graph.add_edges_from([(2, 5), (5, 6)])

ismags = vermouth.ismags.ISMAGS(graph, graph)
Expand Down

0 comments on commit d361836

Please sign in to comment.