Re: [galaxy-dev] Where to find the toolconfig parser code?

2011-07-22 Thread Greg Von Kuster
Samuel, Look at the parse(0 method in the Tool class in ~/lib/galaxy/tools/__init__.py for most of it. You should be able to find everything you need from there. Greg Von Kuster On Jul 22, 2011, at 9:41 AM, Samuel Lampa wrote: Quick question to you devs, I need to find the code where the

Re: [galaxy-dev] Where to find the toolconfig parser code?

2011-07-22 Thread Samuel Lampa
Ah, thanks! I somehow missed that file altogether ... // Samuel On 07/22/2011 03:59 PM, Greg Von Kuster wrote: Samuel, Look at the parse(0 method in the Tool class in ~/lib/galaxy/tools/__init__.py for most of it. You should be able to find everything you need from there. Greg Von Kuster

Re: [galaxy-dev] Where to find the toolconfig parser code?

2011-07-22 Thread Samuel Lampa
One follow up question then: The #if#else syntax, in for example this tool example: ... command interpreter=python sam_to_bam.py --input1=$source.input1 --dbkey=${input1.metadata.dbkey} #if $source.index_source == history: --ref_file=$source.ref_file

Re: [galaxy-dev] Where to find the toolconfig parser code?

2011-07-22 Thread Peter Cock
On Fri, Jul 22, 2011 at 3:50 PM, Samuel Lampa samuel.la...@scilifelab.uu.se wrote: One follow up question then: The #if#else syntax, in for example this tool example:  ... ... is that something that you galaxy parses itself (tried to grep for some matching-code, but found nothing so far),