| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Node.VLibNode --+
|
Filter.FilterNode --+
|
DupeFilter
canonical-smiles based duplicate filter
Assumptions:
- inputs are molecules
Sample Usage:
>>> from rdkit.VLib.NodeLib.SDSupply import SDSupplyNode
>>> fileN = os.path.join(RDConfig.RDCodeDir,'VLib','NodeLib', 'test_data','NCI_aids.10.sdf')
>>> suppl = SDSupplyNode(fileN)
>>> filt = DupeFilter()
>>> filt.AddParent(suppl)
>>> ms = [x for x in filt]
>>> len(ms)
10
>>> ms[0].GetProp("_Name")
'48'
>>> ms[1].GetProp("_Name")
'78'
>>> filt.reset()
>>> filt.next().GetProp("_Name")
'48'
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
resets our iteration state
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Feb 1 16:13:01 2018 | http://epydoc.sourceforge.net |