Question: access galaxy.ini configuration file from mako template file of the visualisation plugin
1
gravatar for sureshhewabi
17 months ago by
sureshhewabi20
sureshhewabi20 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?

ADD COMMENTlink written 17 months ago by sureshhewabi20

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!

ADD REPLYlink written 17 months ago by Bjoern Gruening4.8k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 99 users visited in the last hour