mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
In all these cases, a variable was not declared to be a local using `var` (and hence was implicitly interpreted as a global variable), but all uses of that variable were preceded by a definition within the same function, suggesting that the variable was, in fact, meant to be local, not global.
Custom visualization plugins
----------------------------
Visualizations can be added to your Galaxy instance by creating
sub-directories, templates, and static files here.
Properly configured and written visualizations will be accessible to
the user when they click the 'visualizations' icon for a dataset
in their history panel.
For more information, see http://wiki.galaxyproject.org/VisualizationsRegistry
Sub-directory structure
-----------------------
In general, sub-directories should follow the pattern:
my_visualization/
config/
my_visualization.xml
static/
... any static files the visualization needs (if any)
templates/
... any Mako templates the visualization needs
The XML config file for a visualization plugin can be validated on the command
line using (from your plugin directory):
xmllint my_visualization/config/my_visualization.xml --valid --noout