new_tool_panel_section_label web api
I am using the new_tool_panel_section_label option when installing tools from the toolshed (via scripts/api/install_tool_shed_repository.py. It works, but I'm curious if its producing the wrong result. See the attached image. I have installed a bunch of tools with new_tool_panel_section_label="Other (Main Tool Shed)". I see in the tool_conf.xml that the tool is installed under a section, and the section name gives the menu option its string (e.g., "Other (Main Tool Shed)"). A <label> on the other hand is contained within a section and gives a subheading string (see expected_section_and_label.png). If the parameter "new_tool_panel_section_label" specifies the section_name, what option exists to specify the label? Or perhaps was the "*_label" option intended to provide the subheading and another option (e.g., new_tool_panel_section_name supposed to exist)? Cheers, -Evan Bollig Research Associate | Application Developer | User Support Consultant Minnesota Supercomputing Institute 599 Walter Library 612 624 1447 evan@msi.umn.edu boll0107@umn.edu
Hello Evan, You're referring to an object we call a ToolSectionLabel, and I don't believe that the Galaxy framework supports creating these objects automatically in real time. You have to manually add them to one of your tool panel configs (e.g., tool_conf.xml, shed_tool_conf.xml, etc) via an editor. For example, the <label> tag in the following example tool_conf.xml file will display a label with the text "Get some data…" in the Galaxy tool panel. <?xml version="1.0"?> <toolbox> <label id="get_data" text="Get some data..." version="" /> <section id="getext" name="Get Data" version=""> <tool id="upload1" /> </section> </toolbox> Since the Galaxy framework doesn't support real time addition of section labels in the tool panel, the Tool Shed installation process doesn't either. However, if the ability to do this is needed, we can open a Trello card for it. Just let us know. Thanks, Greg Von Kuster On May 23, 2014, at 1:33 PM, Evan Bollig <boll0107@umn.edu> wrote:
I am using the new_tool_panel_section_label option when installing tools from the toolshed (via scripts/api/install_tool_shed_repository.py. It works, but I'm curious if its producing the wrong result.
See the attached image. I have installed a bunch of tools with new_tool_panel_section_label="Other (Main Tool Shed)". I see in the tool_conf.xml that the tool is installed under a section, and the section name gives the menu option its string (e.g., "Other (Main Tool Shed)"). A <label> on the other hand is contained within a section and gives a subheading string (see expected_section_and_label.png). If the parameter "new_tool_panel_section_label" specifies the section_name, what option exists to specify the label? Or perhaps was the "*_label" option intended to provide the subheading and another option (e.g., new_tool_panel_section_name supposed to exist)?
Cheers,
-Evan Bollig Research Associate | Application Developer | User Support Consultant Minnesota Supercomputing Institute 599 Walter Library 612 624 1447 evan@msi.umn.edu boll0107@umn.edu <toolshed_installed.png><expected_section_and_label.png>___________________________________________________________ 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/
To search Galaxy mailing lists use the unified search at: http://galaxyproject.org/search/mailinglists/
participants (2)
-
Evan Bollig
-
Greg Von Kuster