# HG changeset patch # User bgruening # Date 1495324826 14400 # Node ID ffceb893370f60bb457a8b52ea50d1c7df499e40 # Parent c8e2109716ccdaee375a44938995b0be2faa38fc planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit 78ac0521d7df684e96c1b9c1ba2a17b02e681608 diff -r c8e2109716cc -r ffceb893370f __pycache__/cheminfolib.cpython-36.pyc Binary file __pycache__/cheminfolib.cpython-36.pyc has changed diff -r c8e2109716cc -r ffceb893370f ob_filter.py --- a/ob_filter.py Sat May 20 08:56:26 2017 -0400 +++ b/ob_filter.py Sat May 20 20:00:26 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: