[galaxy-dev] [API] Get the hashed dataset id within Galaxy
Nate Coraor
nate at bx.psu.edu
Tue Aug 23 13:49:51 EDT 2011
Louise-Amélie Schmitt wrote:
> Hi,
>
> I would need to make a tool that can get the API dataset id out of
> the input dataset of the tool, how can I do that?
Hi L-A,
Pass in as an argument:
$__app__.security.encode_id( 'file.%s' % $input1.id )
Where 'input1' is the param name of your input.
--nate
> ___________________________________________________________
> 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/
More information about the galaxy-dev
mailing list