Skip to content

Commit

Permalink
Fix for installing .loc files from the toolshed to respect shed_tool_…
Browse files Browse the repository at this point in the history
…data_path. Mention shed_tool_data_path in galaxy.ini.sample.
  • Loading branch information
blankenberg committed Feb 24, 2015
1 parent 664ed02 commit ce3fc2a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/galaxy.ini.sample
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ paste.app_factory = galaxy.web.buildapp:app_factory
# https://wiki.galaxyproject.org/Admin/DataIntegration
#tool_data_path = tool-data

# Directory where Tool Data Table related files will be placed
# when installed from a ToolShed. Defaults to tool_data_path
#shed_tool_data_path = tool-data

# File containing old-style genome builds
#builds_file_path = tool-data/shared/ucsc/builds.txt

Expand Down
2 changes: 1 addition & 1 deletion lib/tool_shed/tools/data_table_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def handle_sample_tool_data_table_conf_file( self, filename, persist=False ):
try:
new_table_elems, message = self.app.tool_data_tables \
.add_new_entries_from_config_file( config_filename=filename,
tool_data_path=self.app.config.tool_data_path,
tool_data_path=self.app.config.shed_tool_data_path,
shed_tool_data_table_config=self.app.config.shed_tool_data_table_config,
persist=persist )
if message:
Expand Down

0 comments on commit ce3fc2a

Please sign in to comment.