Hi Gromobir,

The file that Gift is producing is already an html file and there's
already an html datatype in Galaxy by default.  The output file in
question just invokes remote javascript libraries inside <script> tags,
and this seems to be tripping up Galaxy's data viewer.  We've tried
turning off the the html sanitizer, as mentioned below, but this doesn't
seem to have any effect.  We've tried downloading and referencing the
javascript libraries in /static/js as well.

I know that the new visualization platform in Galaxy uses a lot of
external javascript libraries like D3Š does anyone know how that is being
handled differently?


Andrew Stewart
Office of Research Information Services (ORIS),
Office of the Chief Information Officer (OCIO),
Smithsonian Institution

On 7/23/13 12:00 PM, "galaxy-dev-requ...@lists.bx.psu.edu"
<galaxy-dev-requ...@lists.bx.psu.edu> wrote:

>On 07/23/2013 05:14 PM, Sinthong, Phanwadee wrote:
>>Hi galaxy-dev,
>>I have a tool that generates a HTML output file which uses some
>>javascript library. I cannot view the output file with the eye button in
>>Galaxy, but it still works fine from the HTML file opened out of the
>>file directory.
>>I changed the sanitize_all_html = False and restarted the galaxy server
>>as some earlier post suggested but still couldn't view the output file.
>>What else can I do to execute Javascript in the Galaxy browser?
>Which library are you trying to use?
>You may have to define your own datatype and add something like the
>following to the file "datatypes_conf.xml"afterwards:
><datatype extension="html" type="galaxay.datatypes.xml:Html"

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:

To search Galaxy mailing lists use the unified search at:

Reply via email to