changeset 4:7c1f9962ac07 draft

Add temporary hack until my galaxy stdout/stderr UTF-8 bug is fixed.
author bgruening
date Fri, 27 Sep 2013 15:51:46 -0400
parents 021f0ef9474f
children c2055dd1927b
files get_pubchem/get_pubchem_as_smiles.py get_pubchem/get_pubchem_as_smiles.xml
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/get_pubchem/get_pubchem_as_smiles.py	Wed Sep 18 09:44:36 2013 -0400
+++ b/get_pubchem/get_pubchem_as_smiles.py	Fri Sep 27 15:51:46 2013 -0400
@@ -29,7 +29,7 @@
     result.get()
 
     for filename in os.listdir(td):
-        path = os.path.join(td, filename)  + '.smi'
+        path = os.path.join(td, filename)
         shutil.copyfileobj(open(path, 'rb'), output_handle)
 
     output_handle.close()
--- a/get_pubchem/get_pubchem_as_smiles.xml	Wed Sep 18 09:44:36 2013 -0400
+++ b/get_pubchem/get_pubchem_as_smiles.xml	Fri Sep 27 15:51:46 2013 -0400
@@ -7,6 +7,8 @@
         get_pubchem_as_smiles.py 
             -o $pubchem_smi 
             -p 4
+            ## temporary hack until my Galaxy patch is committed
+            > /dev/null 2>&1
     </command>
     <stdio>
         <regex match="obError"