Re: [galaxy-dev] How to get the encoded ID from the HistoryDatasetAssociation?
Thanks Martin! With your hint and the example from graphviz.mako I was able to get this to work. Cheers, Malcolm On Wednesday, June 08, 2016 03:23:31 PM Martin Čech wrote: Hello Malcolm, encoded_id is a database row id that has been ran through this method (https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/web/security/__init__.py#L46[1]) using the 'secret' from galaxy.ini config. You should be able to do something like this in the mako: ${trans.security.encode_id( hda.id[2] )} thank you for using Galaxy Martin On Wed, Jun 8, 2016 at 11:16 AM Malcolm Tobias <mtobias@wustl.edu[3]> wrote: hda.name[4] and hda.id[2] I can see various properties of thedataset, but not the encoded ID. Any suggestions on how to do this? Thanks in advance. Malcolm --Malcolm Tobias314.362.1594 ___________________________________________________________Please keep all replies on the list by using "reply all"in your mail client. To manage your subscriptions to thisand other Galaxy lists, please use the interface at: https://lists.galaxyproject.org/[5] http://galaxyproject.org/search/mailinglists/[6] -- Malcolm Tobias 314.362.1594 -------- [1] https://github.com/galaxyproject/galaxy/blob/dev/lib/galaxy/web/security/__i... [2] http://hda.id [3] mailto:mtobias@wustl.edu [4] http://hda.name [5] https://lists.galaxyproject.org/ [6] http://galaxyproject.org/search/mailinglists/
participants (1)
-
Malcolm Tobias