forked from galaxyproject/galaxy
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Install conda packages at install-time #39
Comments
Awesome! Thanks on working on this. One missing piece less :) |
@bgruening sure, let's use the momentum! |
bwlang
added a commit
that referenced
this issue
Jun 26, 2016
working: - fetching valid tool list - identifying unique requirements not working: File '/Users/langhorst/src/galaxy_hackathon/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py', line 1138 in prepare_for_install [view.manager_dependency(req) for req in uniq_reqs.values()] TypeError: manager_dependency() takes exactly 1 argument (2 given)
API call to display all resolved dependencies: |
mvdbeek
pushed a commit
that referenced
this issue
Jul 22, 2016
working: - fetching valid tool list - identifying unique requirements not working: File '/Users/langhorst/src/galaxy_hackathon/lib/galaxy/webapps/galaxy/controllers/admin_toolshed.py', line 1138 in prepare_for_install [view.manager_dependency(req) for req in uniq_reqs.values()] TypeError: manager_dependency() takes exactly 1 argument (2 given)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@bwlang and me have decided to check if we can
The API endpoint already works, although strikingly a GET causes the dependency to be resolved and installed.
r = requests.get(url+"/api/dependency_resolvers/0/requirements", params={"key": your_api_key, "name": "bowtie2==2.2.8"})
One difficulty here is that the tool shed takes the dependency information (or requirements) from the tool_dependencies.xml file (which I guess will be phased out in new tools at some point).
So if we want to do that nice "Install dependencies / requirements " the toolshed should probably return the requirements from the tool xml.
And indeed, the toolsshed does already provide that information through the API
r = requests.get(ts_url+"/api/repositories/get_repository_revision_install_info", {"name":"msp_sr_readmap_and_size_histograms", "owner":"drosofff", "changeset_revision":"d6b93af0da55"})
The text was updated successfully, but these errors were encountered: