Question: Download History galaxy API
1
gravatar for amey.damle
2.1 years ago by
amey.damle30
amey.damle30 wrote:

Hi I am using the python bioblend API to download the history of workflow. the first question is , if workflow is running the history which having datasets can download or not ?? I am using these below code :

bGzip=True 
bWait=True
oExport = gi.histories.export_history(sHisitoryID, bGzip, False, False, bWait)

and then using the id from above oResult will use it in these below

history_id = '8237ee2988567c1c'  
oExport = 'f2db41e1fa331b3e'
iChunkSize=4096
outf = dict()
gi.histories.download_history(history_id, oExport, outf, iChunkSize)

Then why it now working , giving me the error of

Traceback (most recent call last):
File "lib/bioblend/wbint_workflow.py", line 234, in <module>
    print (gi.histories.download_history(history_id, jeha_id, outf, iChunkSize))
  File "/var/www/WebInterface/lib/bioblend/bioblend/galaxy/histories/__init__.py", line 524, in download_history r.raise_for_status() File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 844, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found for url:http://xx.xx.yy.xx:zzzz/api/histories/8237ee2988567c1c/exports/f2db41e1fa331b3e?key=6f45333adda9b0a6a56c2376eb6b31e4
api history galaxy python • 633 views
ADD COMMENTlink written 2.1 years ago by amey.damle30

Hello Amey, You have this resolved, correct? Jen

ADD REPLYlink written 2.1 years ago by Jennifer Hillman Jackson25k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 140 users visited in the last hour