Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploading collections through API #6822

Closed
najitaleb opened this issue Oct 5, 2018 · 2 comments
Closed

uploading collections through API #6822

najitaleb opened this issue Oct 5, 2018 · 2 comments

Comments

@najitaleb
Copy link

Hello. I am in the process of attempting to create a dataset collection through the galaxy API but I am running into an issue. The YAML file I am using as the target for fetch_to_library.py is here https://gist.github.com/najitaleb/5bba05a27041b109136a6cde2b79808b

When I run it with this YAML file, an empty collection is created in my history and the datasets are added separately. I have attached a picture of my history in this post.
historycol

After looking through the bioblend and galaxy API documentation, I came across the create_dataset_collection in the bioblend documentation here on page 29 https://media.readthedocs.org/pdf/bioblend/latest/bioblend.pdf

Am I supposed to include element identifiers as well? Or maybe something else is missing? I'm not sure where I can really find documentation of all the parameters that can be used, and I'm not really sure what the issue is with my YAML file. Thanks.

@najitaleb
Copy link
Author

#5220

@najitaleb
Copy link
Author

I found the issue. It was the names and descriptions that are used for libraries. Once those are removed, it is able to create a collection in the history. Here is my fixed yaml file https://gist.github.com/najitaleb/08e1c7b9c1d09cd1f7e20403ee3fe218

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant