diff sdf_to_tab.py @ 5:1cf3bab54ddd draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/rdkit commit 09b22cceacb34dd4c6c1b42890f93232df128208"
author bgruening
date Sat, 21 Mar 2020 14:04:00 -0400
parents 617d4555d8d3
children d68bf44e1f5c
line wrap: on
line diff
--- a/sdf_to_tab.py	Tue Mar 10 12:58:24 2020 -0400
+++ b/sdf_to_tab.py	Sat Mar 21 14:04:00 2020 -0400
@@ -16,7 +16,7 @@
             else:
                 d = {prop: val for (prop, val) in d.items() if prop in vars.props.replace(' ', '').split(',')}  # remove items not requested via CLI
             if vars.name:
-                d['Name'] = mols[n].GetProp('_Name')
+                d['SDFMoleculeName'] = mols[n].GetProp('_Name')
             if vars.smiles:
                 d['SMILES'] = Chem.MolToSmiles(mols[n], isomericSmiles=False)
             d['Index'] = int(n)