Hi Timothy, if by "customize the name of the output" you mean "display a string of my choice as the new history item display name" then yes.

Eric - thanks for reminding me to fix that old code!
:)

Post execution hooks are not needed - there's a much cleaner way - eg given a form field "usersuppliedlabel", something like
<outputs>
    <data format="foo" name="output"  label="$usersuppliedlabel">
 ...
The label becomes the history item display name if that helps?

On Thu, Nov 17, 2011 at 8:26 PM, Paniagua, Eric <epaniagu@cshl.edu> wrote:
Hi Timothy,

Check out tools/rgenetics/rgLDIndep.xml and the associated tools/rgenetics/rgLDIndep_code.py for an example of how to change the name of your output data.

Best,
Eric

________________________________
From: galaxy-dev-bounces@lists.bx.psu.edu [galaxy-dev-bounces@lists.bx.psu.edu] on behalf of Timothy Wu [2huggie@gmail.com]
Sent: Wednesday, October 12, 2011 4:51 AM
To: galaxy-dev@lists.bx.psu.edu
Subject: [galaxy-dev] Name your own tool's output?

Hi,

I thought I had already asked this question a while ago, but I can't find it so I guess I haven't.

When porting my own tool, is there anyway to customize the name of the output?

Timothy

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



--
Ross Lazarus MBBS MPH;
Associate Professor, Harvard Medical School;
Head, Medical Bioinformatics, BakerIDI; Tel: +61 385321444;