diff multi_obgrep.py @ 4:de4c80d17527 draft

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit 944ea4bb8a9cd4244152a4a4fecd0485fabc2ad0"
author bgruening
date Tue, 28 Jul 2020 08:40:43 -0400
parents 06340f46ecb8
children a5f4b80e6769
line wrap: on
line diff
--- a/multi_obgrep.py	Thu Apr 09 10:10:31 2020 -0400
+++ b/multi_obgrep.py	Tue Jul 28 08:40:43 2020 -0400
@@ -6,15 +6,14 @@
 """
 import sys, os
 import argparse
-import openbabel
-openbabel.obErrorLog.StopLogging()
-import pybel
 import multiprocessing
 import tempfile
 import subprocess
 import shutil
 import shlex
 
+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.')