diff osra.xml @ 2:abe9670bfc44

Uploaded
author bgruening
date Fri, 12 Apr 2013 16:25:32 -0400
parents efd9c309b8f7
children deccc074dbfb
line wrap: on
line diff
--- a/osra.xml	Sun Mar 31 13:12:44 2013 -0400
+++ b/osra.xml	Fri Apr 12 16:25:32 2013 -0400
@@ -4,7 +4,14 @@
         <requirement type="package" version="1.4.0">osra</requirement>
     </requirements>
     <command>
-        osra -f $oformat $infile > $outfile
+        ## OSRA_DATA_FILES is set during the toolshed Installation
+        ## if it is not set, use the standard configuration and hope the best
+        osra -f $oformat $infile 
+        #import os
+        #if os.environ.get('OSRA_DATA_FILES', None):
+            -l \$OSRA_DATA_FILES/spelling.txt -a \$OSRA_DATA_FILES/superatom.txt
+        #end if
+        > $outfile
     </command>
     <inputs>
         <param name="infile" type="data" format="png,pdf" label="Image or PDF with molecules"/>