diff chembl.py @ 4:59eea7d0d720 draft

"planemo upload for repository https://github.com/chembl/chembl_webresource_client commit f5c316339ed36a0469f4862d00fa0e5cafebc041"
author bgruening
date Tue, 19 May 2020 05:34:34 -0400
parents f56492688f43
children 1ade252ebe08
line wrap: on
line diff
--- a/chembl.py	Wed Apr 01 07:04:25 2020 -0400
+++ b/chembl.py	Tue May 19 05:34:34 2020 -0400
@@ -5,7 +5,7 @@
 
 def open_file(filename):
     with open(filename) as f:
-        return f.readline()
+        return f.readline().split()[0]
 
 def get_smiles(res):
     """