Mercurial > repos > bgruening > openbabel_remduplicates
comparison change_title_to_metadata_value.py @ 12:8c4a4e9e173c draft
"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/chemicaltoolbox/openbabel commit 944ea4bb8a9cd4244152a4a4fecd0485fabc2ad0"
| author | bgruening | 
|---|---|
| date | Tue, 28 Jul 2020 12:01:17 +0000 | 
| parents | e185dfd1dfea | 
| children | d44de092fef3 | 
   comparison
  equal
  deleted
  inserted
  replaced
| 11:886c3e81ce7a | 12:8c4a4e9e173c | 
|---|---|
| 7 """ | 7 """ | 
| 8 | 8 | 
| 9 import os | 9 import os | 
| 10 import sys | 10 import sys | 
| 11 import argparse | 11 import argparse | 
| 12 import openbabel | |
| 13 openbabel.obErrorLog.StopLogging() | |
| 14 import pybel | |
| 15 import random | 12 import random | 
| 16 import string | 13 import string | 
| 17 | 14 | 
| 15 | |
| 16 from openbabel import openbabel, pybel | |
| 17 openbabel.obErrorLog.StopLogging() | |
| 18 | 18 | 
| 19 def main(): | 19 def main(): | 
| 20 parser = argparse.ArgumentParser( | 20 parser = argparse.ArgumentParser( | 
| 21 description="Change the title from a molecule file to metadata \ | 21 description="Change the title from a molecule file to metadata \ | 
| 22 value of a given-id of the same molecule file.", | 22 value of a given-id of the same molecule file.", | 
