Skip to content

Commit

Permalink
rdk compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
marta-sd committed Dec 1, 2017
1 parent 23ef130 commit d7abb2d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_descriptors.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ def test_close_contacts():
rec.protein = True
rec.addh()

for cutoff, num_contacts in ((4, 21702), ([4], 21702), ([2, 4], 21918),
([[1, 2], [3, 4]], 18886)):
for cutoff, num_contacts in ((4, 6816), ([4], 6816), ([2, 4], 6816),
([[1, 2], [3, 4]], 6304)):
contacts_descriptor = descriptors.close_contacts(
cutoff=cutoff,
ligand_types=[1, 6, 7, 8],
protein_types=[1, 6, 7, 8])
length = len(contacts_descriptor.cutoff) * 16
ligand_types=[6, 7, 8],
protein_types=[6, 7, 8])
length = len(contacts_descriptor.cutoff) * 9
assert_equal(len(contacts_descriptor), length)

contacts = contacts_descriptor.build(ligands, protein=rec)
Expand Down

0 comments on commit d7abb2d

Please sign in to comment.