Dear list,

I have a few tools that use Python which subsequently tries to load files from 
a subfolder in the tool dir (i.e. 
galaxy-dist/tools/myTool/templates/template.sh).

However at runtime it seems the Python file(s) are copied to Galaxy's working 
directory making all other files located in 'myTool' unavailable. Importing a 
Python file does work so these get copied / moved to the working directory as 
well but any other file is unavailable.

What is the solution of using a different file (for simplicities sake, let's 
consider any kind of file) that is located in the above mentioned path 
-without- using any hardcoded paths in my code?

Thanks!

Best regards,

Marcel
________________________________
De inhoud van dit bericht is vertrouwelijk en alleen bestemd voor de 
geadresseerde(n). Anderen dan de geadresseerde(n) mogen geen gebruik maken van 
dit bericht, het niet openbaar maken of op enige wijze verspreiden of 
vermenigvuldigen. Het UMCG kan niet aansprakelijk gesteld worden voor een 
incomplete aankomst of vertraging van dit verzonden bericht.

The contents of this message are confidential and only intended for the eyes of 
the addressee(s). Others than the addressee(s) are not allowed to use this 
message, to make it public or to distribute or multiply this message in any 
way. The UMCG cannot be held responsible for incomplete reception or delay of 
this transferred message.
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:

  http://lists.bx.psu.edu/

Reply via email to