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