Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TieuLongPhan committed Dec 9, 2024
1 parent 110c5f9 commit ccc4a9d
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Test/SynITS/test_its_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,6 @@ def test_unsanitize_smiles(self):
self.assertEqual(len(its_true["ITSGraph"][2].nodes()), 2)
self.assertEqual(len(its_false["ITSGraph"][2].nodes()), 4)

def test_unsanitize_smiles(self):
test_2 = {
"R_ID": "R_1",
"Map": "[CH2:1]=[CH2:2].[H:3][H:4]>>[CH2:1]([H:3])[CH2:2]([H:4])",
}
its_true, _ = ITSExtraction.process_mapped_smiles(test_2, ["Map"])
its_false, _ = ITSExtraction.process_mapped_smiles(
test_2, ["Map"], sanitize=False
)
self.assertNotEqual(
len(its_true["ITSGraph"][2].nodes()), len(its_false["ITSGraph"][2].nodes())
)
self.assertEqual(len(its_true["ITSGraph"][2].nodes()), 2)
self.assertEqual(len(its_false["ITSGraph"][2].nodes()), 4)


if __name__ == "__main__":
unittest.main()

0 comments on commit ccc4a9d

Please sign in to comment.