Mercurial > repos > bgruening > ctb_rdkit_describtors
comparison rdkit_descriptors.py @ 1:2f212f34b80c draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/rdkit commit 9a3dc91fa984be18fabc0d968360634d787c9589
author | bgruening |
---|---|
date | Wed, 24 May 2017 09:51:36 -0400 |
parents | d7ea4e8cb1f3 |
children |
comparison
equal
deleted
inserted
replaced
0:d7ea4e8cb1f3 | 1:2f212f34b80c |
---|---|
21 if mol is None: | 21 if mol is None: |
22 yield False | 22 yield False |
23 else: | 23 else: |
24 mol.SetProp( '_Name', line.split('\t')[0] ) | 24 mol.SetProp( '_Name', line.split('\t')[0] ) |
25 yield mol | 25 yield mol |
26 | |
27 | 26 |
28 def get_rdkit_descriptor_functions(): | 27 def get_rdkit_descriptor_functions(): |
29 """ | 28 """ |
30 Returns all descriptor functions under the Chem.Descriptors Module as tuple of (name, function) | 29 Returns all descriptor functions under the Chem.Descriptors Module as tuple of (name, function) |
31 """ | 30 """ |