Mercurial > repos > bgruening > osra
diff osra.xml @ 3:deccc074dbfb
Uploaded
| author | bgruening |
|---|---|
| date | Fri, 12 Apr 2013 18:14:31 -0400 |
| parents | abe9670bfc44 |
| children | 143a63ca2bca |
line wrap: on
line diff
--- a/osra.xml Fri Apr 12 16:25:32 2013 -0400 +++ b/osra.xml Fri Apr 12 18:14:31 2013 -0400 @@ -1,16 +1,17 @@ <tool id="osra" name="Molecule recognition" version="0.2"> - <description>in Images or PDF documents</description> + <description>in Images or PDF documents (OSRA)</description> <requirements> <requirement type="package" version="1.4.0">osra</requirement> </requirements> - <command> + <command interpreter='python'> ## 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 + osra.py -f $oformat $infile + -l \$OSRA_DATA_FILES/spelling.txt -a \$OSRA_DATA_FILES/superatom.txt + + ## further additions of OSRA parameter should go after -l and -a + ## because -l and -a can be removed by the python wrapper + > $outfile </command> <inputs>
