Hi,

Using Bioblend API to communicate with Galaxy



Try to import datasets to history, using command:

gi.histories.upload_dataset_from_library(historyID, datasetID)

But I've got the error:

bioblend.galaxy.client.ConnectionError: Unexpected response from galaxy: 400: "Please define the source ('library' or 'hda') and the content."

What's the source and the content? How to get it and put as arguments into this function?