Logo Search packages:      
Sourcecode: pymol version File versions  Download package

def chempy::champ::Champ::exact_1vN_n (   self,
  pattern,
  handle 
)
returns count of how many times exact compound occurs in list

NOTE: should call generalize first as patterns are loaded...
otherwise, equivalent aromatic bonds will be missed.

Definition at line 198 of file __init__.py.

                                        :
        '''
        returns count of how many times exact compound occurs in list
        
        NOTE: should call generalize first as patterns are loaded...
                otherwise, equivalent aromatic bonds will be missed.
        '''
        (e,r) = _champ.exact_1vN_n(self._champ,
                                    int(pattern),int(handle))
        if e: raise RuntimeError
        return r
        

Generated by  Doxygen 1.6.0   Back to index