def test_lone_pair_retention(self):
    "Test that we don't lose any lone pairs on round trip RDKit conversion."
    mol = Molecule().from_adjacency_list('\n1 C u0 p0 c0 {2,D} {3,S} {4,S}\n2 O u0 p2 c0 {1,D}\n3 H u0 p0 c0 {1,S}\n4 H u0 p0 c0 {1,S}\n')
    rdmol = to_rdkit_mol(mol)
    mol2 = from_rdkit_mol(Molecule(), rdmol)
    self.assertTrue(mol.is_isomorphic(mol2))
Test that we don't lose any lone pairs on round trip RDKit conversion.
def test_lone_pair_retention(self):
    
    mol = Molecule().from_adjacency_list('\n1 C u0 p0 c0 {2,D} {3,S} {4,S}\n2 O u0 p2 c0 {1,D}\n3 H u0 p0 c0 {1,S}\n4 H u0 p0 c0 {1,S}\n')
    rdmol = to_rdkit_mol(mol)
    mol2 = from_rdkit_mol(Molecule(), rdmol)
    self.assertTrue(mol.is_isomorphic(mol2))