diff subsearch.py @ 13:db1d1e4658ea draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit 944ea4bb8a9cd4244152a4a4fecd0485fabc2ad0"
author bgruening
date Tue, 28 Jul 2020 12:03:22 +0000
parents 3d836f9f9754
children e1143f22d3af
line wrap: on
line diff
--- a/subsearch.py	Thu Apr 09 13:56:46 2020 +0000
+++ b/subsearch.py	Tue Jul 28 12:03:22 2020 +0000
@@ -6,14 +6,14 @@
 """
 import sys, os
 import argparse
-import openbabel
-openbabel.obErrorLog.StopLogging()
-import pybel
 import multiprocessing
 import tempfile
 import subprocess
 import shutil
 
+from openbabel import openbabel, pybel
+openbabel.obErrorLog.StopLogging()
+
 def parse_command_line():
     parser = argparse.ArgumentParser()
     parser.add_argument('-i', '--infile', required=True, help='Molecule file.')