Repository 'openbabel_remove_protonation_state'
hg clone https://toolshed.g2.bx.psu.edu/repos/bgruening/openbabel_remove_protonation_state

Changeset 3:1c010e7479df (2017-05-20)
Previous changeset 2:45cab3c4bfc4 (2017-05-20) Next changeset 4:62e6d52c83bf (2017-05-24)
Commit message:
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit c376ab981fafb25f0c04a2a313968fa2e55f5196
modified:
__pycache__/cheminfolib.cpython-36.pyc
ob_spectrophore_search.py
b
diff -r 45cab3c4bfc4 -r 1c010e7479df __pycache__/cheminfolib.cpython-36.pyc
b
Binary file __pycache__/cheminfolib.cpython-36.pyc has changed
b
diff -r 45cab3c4bfc4 -r 1c010e7479df ob_spectrophore_search.py
--- a/ob_spectrophore_search.py Sat May 20 20:04:45 2017 -0400
+++ b/ob_spectrophore_search.py Sat May 20 20:06:55 2017 -0400
[
@@ -57,7 +57,7 @@
     # This sets up the parameters for the Spectrophore generation. Parameters are set to fit those of our standard parsing tool
     set_parameters(args)
 
-    mol = pybel.readfile('sdf', args.target).next()
+    mol = next(pybel.readfile('sdf', args.target))
     target_spectrophore = mol.data["Spectrophores(TM)"].strip().split(', ')
     # Compute the paired-distance between every molecule in the library and the target
     distances = Compute_Spectrophores_distance(target_spectrophore, args)