From 509930783d0d5f4dc97dfef0fd6dc438dd8278cd Mon Sep 17 00:00:00 2001 From: Daniel Blankenberg Date: Wed, 25 Feb 2015 12:18:53 -0500 Subject: [PATCH] Fix for ToolShed not having config.shed_tool_data_path --- lib/galaxy/webapps/tool_shed/config.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/galaxy/webapps/tool_shed/config.py b/lib/galaxy/webapps/tool_shed/config.py index 4d0972277209..f80c65d8967c 100644 --- a/lib/galaxy/webapps/tool_shed/config.py +++ b/lib/galaxy/webapps/tool_shed/config.py @@ -139,6 +139,10 @@ def __init__( self, **kwargs ): self.citation_cache_data_dir = resolve_path( kwargs.get( "citation_cache_data_dir", "database/tool_shed_citations/data" ), self.root ) self.citation_cache_lock_dir = resolve_path( kwargs.get( "citation_cache_lock_dir", "database/tool_shed_citations/locks" ), self.root ) + @property + def shed_tool_data_path( self ): + return self.tool_data_path + def __parse_config_file_options( self, kwargs ): defaults = dict( datatypes_config_file = [ 'config/datatypes_conf.xml', 'datatypes_conf.xml', 'config/datatypes_conf.xml.sample' ],