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

ToolShed tool dependency install fixes #4105

merged 3 commits into from May 23, 2017


None yet
3 participants
Copy link

commented May 23, 2017

See individual commits for details.

nsoranzo added some commits May 22, 2017

Catch specific exception type
Also remove unused variable
Allow empty <environment_variable>
Presently trying to install a ToolShed tool dependency defined as

    <set_environment version="1.0">
        <environment_variable name="MYVAR" action="set_to"></environment_variable>

results in EnvManager.create_env_var_dict() returning None, which in turn
causes the dependency silently not being installed with this error in the

tool_shed.galaxy_install.tool_dependencies.recipe.tag_handler DEBUG 2017-05-23 10:08:23,798 Error setting environment for tool dependency: local variable 'tool_dependency' referenced before assignment
Raise an exception if name or action are not defined
instead of silently skipping the <environment_variable> tool dependency

@mvdbeek mvdbeek merged commit 2aec5dd into galaxyproject:dev May 23, 2017

5 checks passed

api test Build finished. 276 tests run, 0 skipped, 0 failed.
continuous-integration/travis-ci/pr The Travis CI build passed
framework test Build finished. 150 tests run, 0 skipped, 0 failed.
integration test Build finished. 34 tests run, 0 skipped, 0 failed.
toolshed test Build finished. 579 tests run, 0 skipped, 0 failed.

This comment has been minimized.

Copy link

commented May 23, 2017

Thanks for digging into this @nsoranzo !

@nsoranzo nsoranzo deleted the nsoranzo:ts_tool_dep_install_fixes branch May 25, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.