Question: access galaxy.ini configuration file from mako template file of the visualisation plugin
1
sureshhewabi • 20 wrote:
Hi,
how can i access galaxy.ini configuration file from mako template file of the visualisation plugin? I have a setting for output directory for my visualisation plugin and I have specified it in galaxy.ini file. In my template(mako), I use ajax call to access output files, but I dont like to hardcode output file path. So, it was specified in galaxy.ini like this:
[ myplugin]
output_file_dir = /Users/myname/Downloads/galaxy/config/plugins/visualizations/mypluginname/static/data/
How can I get this value to a JavaScript variable?
Hi!
Why do you use the galaxy.ini for this setting? Can you put a simple my_via.ini in your config folder of your visulaisation?
Thanks for writing ViS!