Re: [galaxy-dev] Local display application questions

2012-04-12 Thread Peter Cock
On Thu, Apr 12, 2012 at 10:39 AM, Lukasse, Pieter  wrote:
>
> Hi Peter, Alex,
>
> Thanks for the tips, the stdout is very useful indeed for a small amount
> of information. However I want to display a large HTML report with some
> pictures/plots that will help the user assess the execution of the tool. A
> hidden output will also not work as I want the XML output item to be the
> visible one in the history. ...

Can you embed the HTML report into the XML file, so that displaying
the XML file shows the report to the user (while retaining the nicely
structured data for downstream analysis)?

Alternatively, can you generate the HTML report from the XML file?
If so, you could have a single XML output file, defined as an XML
sub-class in Galaxy, with custom display handling which shows
the user the HTML report instead of the raw XML.

(I'm assuming that externally defined Galaxy datatypes can do
that - if not perhaps that would be worth catering to.)

Peter
___
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/


Re: [galaxy-dev] Local display application questions

2012-04-02 Thread Bossers, Alex
As an alternative you can return "hidden" history items.
Not exactly what you want perhaps...


Van: galaxy-dev-boun...@lists.bx.psu.edu [galaxy-dev-boun...@lists.bx.psu.edu] 
namens Peter Cock [p.j.a.c...@googlemail.com]
Verzonden: maandag 2 april 2012 15:38
To: Lukasse, Pieter
Cc: Greg Von Kuster (g...@bx.psu.edu); galaxy-dev@lists.bx.psu.edu
Onderwerp: Re: [galaxy-dev] Local display application questions

On Mon, Apr 2, 2012 at 2:00 PM, Lukasse, Pieter  wrote:
> Hi Greg,
>
> I made a tool for Galaxy which produces a normal XML output file and next to
> that it also produces a HTML report with some quick summarized details for
> the user.
>
> I could solve this by using 2 output files, but ...

That is the normal way to do this in Galaxy, isn't it? You can also use
stdout for a small amount of plain text summary output - shown in the
history as the 'info' text - perhaps that would be enough instead?

Peter
___
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/


___
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/


Re: [galaxy-dev] Local display application questions

2012-04-02 Thread Peter Cock
On Mon, Apr 2, 2012 at 2:00 PM, Lukasse, Pieter  wrote:
> Hi Greg,
>
> I made a tool for Galaxy which produces a normal XML output file and next to
> that it also produces a HTML report with some quick summarized details for
> the user.
>
> I could solve this by using 2 output files, but ...

That is the normal way to do this in Galaxy, isn't it? You can also use
stdout for a small amount of plain text summary output - shown in the
history as the 'info' text - perhaps that would be enough instead?

Peter
___
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/