# HG changeset patch # User bgruening # Date 1495325036 14400 # Node ID bf3b0107c0f4c128ffe2e852655b5a9726558c81 # Parent 09cd63251df50cdf15255ad15f94780e6373d295 planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit 78ac0521d7df684e96c1b9c1ba2a17b02e681608 diff -r 09cd63251df5 -r bf3b0107c0f4 __pycache__/cheminfolib.cpython-36.pyc Binary file __pycache__/cheminfolib.cpython-36.pyc has changed diff -r 09cd63251df5 -r bf3b0107c0f4 ob_filter.py --- a/ob_filter.py Sat May 20 09:00:28 2017 -0400 +++ b/ob_filter.py Sat May 20 20:03:56 2017 -0400 @@ -95,7 +95,7 @@ filters = json.loads((args.filters).replace(' ', '').replace(',}', '}')) if args.iformat == 'sdf': # Check if the sdf file contains all of the required metadata to invoke the precalculation filtering - mol = pybel.readfile('sdf', args.input).next() + mol = next(pybel.readfile('sdf', args.input)) for key, elem in filters.items(): property = cheminfolib.ColumnNames[key] if not property in mol.data: