meeko/setup.py
def del_bond(self, idx1, idx2):
        """ remove a bond from the lookup table """
        bond_id = self.get_bond_id(idx1, idx2)
        del self.bond[bond_id]
        self.graph[idx1].remove(idx2)
        if not self.graph[idx1]:
            del self.graph[idx1]
        self.graph[idx2].remove(idx1)
        if not self.graph[idx2]:
            del self.graph[idx2]
 remove a bond from the lookup table 
remove a bond from the lookup table
remove a bond from the lookup table
def del_bond(self, idx1, idx2):
        bond_id = self.get_bond_id(idx1, idx2)
        del self.bond[bond_id]
        self.graph[idx1].remove(idx2)
        if not self.graph[idx1]:
            del self.graph[idx1]
        self.graph[idx2].remove(idx1)
        if not self.graph[idx2]:
            del self.graph[idx2]
def del_bond ( self , idx1 , idx2 ) : bond_id = self . get_bond_id ( idx1 , idx2 ) del self . bond [ bond_id ] self . graph [ idx1 ] . remove ( idx2 ) if not self . graph [ idx1 ] : del self . graph [ idx1 ] self . graph [ idx2 ] . remove ( idx1 ) if not self . graph [ idx2 ] : del self . graph [ idx2 ]
remove a bond from the lookup table
remove a bond from the lookup table
""" remove a bond from the lookup table """
self
idx1
idx2