[galaxy-dev] change dataset label in exec_after_process()
Ross
ross.lazarus at gmail.com
Fri Jun 24 04:09:18 EDT 2011
I used to use the post job hook but I think it's a lot cleaner to use
the label option - eg where I want the output name based on a user
supplied text string "out_prefix", something like:
<outputs>
<data format="html" name="html_file" label="${out_prefix}.html"/>
</outputs>
works for me and avoids the need to have a post execution hook code file.
On Fri, Jun 24, 2011 at 6:02 PM, Leandro Hermida
<softdev at leandrohermida.com> wrote:
> Hi again,
>
> Sorry that I didn't know before, it seems like the label is the the object
> attribute 'name' programmatically, but even if I set this in
> exec_before_job(), exec_before_process(), exec_after_process() it doesn't
> change the dataset name even after refreshing my history.
>
> Has anyone had success setting dataset label/name and other attributes using
> one of the custom code hook functions??
>
--
Ross Lazarus MBBS MPH;
Associate Professor, Harvard Medical School;
Director of Bioinformatics, Channing Lab; Tel: +1 617 505 4850;
Head, Medical Bioinformatics, BakerIDI; Tel: +61 385321444;
More information about the galaxy-dev
mailing list