Package rdkit :: Package Chem :: Package ChemUtils :: Module DescriptorUtilities
[hide private]
[frames] | no frames]

Source Code for Module rdkit.Chem.ChemUtils.DescriptorUtilities

 1  # 
 2  # Copyright (C) 2017 Peter Gedeck 
 3  # 
 4  #   @@ All Rights Reserved @@ 
 5  #  This file is part of the RDKit. 
 6  #  The contents are covered by the terms of the BSD license 
 7  #  which is included in the file license.txt, found at the root 
 8  #  of the RDKit source tree. 
 9  # 
10  ''' 
11  Collection of utilities to be used with descriptors 
12   
13  ''' 
14   
15   
16 -def setDescriptorVersion(version='1.0.0'):
17 """ Set the version on the descriptor function. 18 19 Use as a decorator """ 20 def wrapper(func): 21 func.version = version 22 return func
23 return wrapper 24