API access from Tool script
Dears, I’m working on a tool script (a Python script) that given a dataset id host and port, for example “http://web.uniparthenope.it:28080/api/datasets/3068f10db18abc2b” get the json dateset description in order to extract the file_name field as "file_name": "/home/0124000066/galaxy-python/galaxyTools/scratch/galaxy/files/001/dataset_1369.dat” The motivation is accessing to the actual filesystem path from the dataset id. There is any clean way to transfer the galaxysession cookie value to the tools script as an environment variable or any form of the authentication of the user that is running the tool? Bests, Raffaele****************************************************************************** IL MERITO DEGLI STUDENTI VIENE RICONOSCIUTO Il 5 per mille all'Universita' degli Studi di Napoli "Parthenope" incrementa le borse di studio agli studenti - codice fiscale 80018240632 http://www.uniparthenope.it/index.php/it/5-per-mille Questa informativa e' inserita in automatico dal sistema al fine esclusivo della realizzazione dei fini istituzionali dell'ente.
participants (1)
-
Raffaele Montella