# HG changeset patch # User bgruening # Date 1495324984 14400 # Node ID 40ac75c9936b73a13ff2565ebcb41e84c5efdb32 # Parent ffceb893370f60bb457a8b52ea50d1c7df499e40 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit c376ab981fafb25f0c04a2a313968fa2e55f5196 diff -r ffceb893370f -r 40ac75c9936b __pycache__/cheminfolib.cpython-36.pyc Binary file __pycache__/cheminfolib.cpython-36.pyc has changed diff -r ffceb893370f -r 40ac75c9936b ob_spectrophore_search.py --- a/ob_spectrophore_search.py Sat May 20 20:00:26 2017 -0400 +++ b/ob_spectrophore_search.py Sat May 20 20:03:04 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)