Skip to content

Commit

Permalink
Fix test format
Browse files Browse the repository at this point in the history
  • Loading branch information
pckroon committed Jul 27, 2023
1 parent 077f254 commit d40a477
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_write_smiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,18 @@
(
[(0, {'element': 'Se', 'charge': 0, 'aromatic': False, 'hcount': 0})],
[],
False
dict(explicit_hydrogen=False, zero_order_bonds=False, reinterpret_aromatic=True),
),
(
[(0, {'element': 'As', 'charge': 0, 'aromatic': False, 'hcount': 0})],
[],
False
dict(explicit_hydrogen=False, zero_order_bonds=False, reinterpret_aromatic=True),
),
))
def test_write_smiles(node_data, edge_data, kwargs):
mol = make_mol(node_data, edge_data)
smiles = write_smiles(mol)
print(smiles)
print(kwargs)
found = read_smiles(smiles, **kwargs)
assertEqualGraphs(mol, found)

0 comments on commit d40a477

Please sign in to comment.