galaxyproject / blend4j

blend4j is a JVM partial reimplementation of the Python library bioblend for interacting with Galaxy, CloudMan, and BioCloudCentral.
Eclipse Public License 1.0
16 stars 22 forks source link

Feature/get upload library object #23

Closed apetkau closed 9 years ago

apetkau commented 9 years ago

Hey John,

Here's some code I had written a while ago and haven't gotten to sending as a pull request until now. The main purpose is to implement a way to convert the response of uploadFilesystemPathsRequest to a GalaxyObject (I was using this to get the id of the uploaded file) as well as implementing LibrariesClient.showDataset which works similar to the bioblend version http://bioblend.readthedocs.org/en/latest/api_docs/galaxy/all.html#bioblend.galaxy.libraries.LibraryClient.show_dataset.

I had noticed you mentioned the meaning of data_type to the history contents API (https://github.com/jmchilton/blend4j/pull/21) and I was wondering if this also applies to the meaning of data_type in the LibraryContents?

Thanks,

Aaron

jmchilton commented 9 years ago

Fantastic as always, thanks a bunch!

jmchilton commented 9 years ago

About the data_type, let me do some more research and get back to you. I may make some small tweaks to the new class you created's data_type attribute for consistency - but probably not.

apetkau commented 9 years ago

Awesome, thanks for merging this in and taking the time to look into data_type.