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

Fix default involucro path #8360

Merged
merged 1 commit into from
Jul 22, 2019

Conversation

mvdbeek
Copy link
Member

@mvdbeek mvdbeek commented Jul 19, 2019

BaseAppConfiguration.root is now an absolute path, and so is
BaseAppConfiguration.data_dir, so the result of
resolve_path(kwargs.get("tool_dependency_dir", "dependencies"), self.data_dir)
is not "none" as it used to be, but "<galaxy_data_dir>/none" and so
the fallback will not be used.

This can be fixed by setting the default target dir to dependencies
and join it to self.data_dir, which defaults to galaxy_root/database
on classic installations.

Fixes the issues in #8195 (comment)

BaseAppConfiguration.root is now an absolute path, and so is
BaseAppConfiguration.data_dir, so the result of
`resolve_path(kwargs.get("tool_dependency_dir", "dependencies"), self.data_dir)`
is not "none" as it used to be, but `"<galaxy_data_dir>/none"` and so
the fallback will not be used.

This can be fixed by setting the default target dir to `dependencies`
and join it to self.data_dir, which defaults to `galaxy_root/database`
on classic installations.

Fixes the issues in galaxyproject#8195 (comment)
@mvdbeek mvdbeek force-pushed the fix_default_involucro_path branch from 54bcef1 to 7be55d3 Compare July 19, 2019 15:02
@galaxybot galaxybot added this to the 19.09 milestone Jul 19, 2019
Copy link
Member

@jmchilton jmchilton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing , thanks for fixing this up.

@mvdbeek mvdbeek merged commit 9606690 into galaxyproject:dev Jul 22, 2019
@jdavcs jdavcs added the area/configuration Galaxy's configuration system label Sep 19, 2019
@mvdbeek mvdbeek deleted the fix_default_involucro_path branch March 1, 2021 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants