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

ADD COMMENT • link • written 2.3 years ago by sureshhewabi • 20

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 REPLY • link written 2.3 years ago by Bjoern Gruening ♦ 5.1k
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: 166 users visited in the last hour