Galaxy Bioblend API and deleting datasets from histories
1
0
Entering edit mode
7.9 years ago
jhl667 • 0

I am trying to simply delete intermediate file datasets from histories on my local Galaxy instance using histories.delete_dataset(). For some reason this is not working, and I am having a tough time actually troubleshooting it. Do people have suggestions as to why this might be happening?

Thanks!

bioblend galaxy • 1.3k views
ADD COMMENT
1
Entering edit mode
7.9 years ago
jhl667 • 0

I went ahead and dug in to the Client object a bit more, and was able to investigate the cause of this problem. Apparently, if you are going to call histories.show_history() to retrieve history-specific data, you can't use the 'dataset_id' field as the dataset_id in histories.delete_dataset(). You actually want to use the 'id' key. This was clear after I printed our the contents of the json blob response that was given with my history_id and dataset_id parameters. This may be worth notating in the documentation. :-)

ADD COMMENT

Login before adding your answer.

Traffic: 1865 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6