commit/galaxy-central: greg: Don't create the default path for installing tools from the tool shed until the time of installation, at which time the admin whll have over-ridden the default if they wanted to.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/6b8535e5b030/ changeset: 6b8535e5b030 user: greg date: 2012-03-26 19:27:17 summary: Don't create the default path for installing tools from the tool shed until the time of installation, at which time the admin whll have over-ridden the default if they wanted to. affected #: 1 file diff -r ba51ed3cf08491362d42e2d02dbb91d73a0f1dd3 -r 6b8535e5b03001cc25e55f05b391fafacbf56b8e lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -238,16 +238,6 @@ return default def check( self ): paths_to_check = [ self.root, self.tool_path, self.tool_data_path, self.template_path ] - # Look for any tool shed configs and retrieve the tool_path attribute from the <toolbox> tag. - tool_configs = self.tool_configs - if self.migrated_tools_config not in tool_configs: - tool_configs.append( self.migrated_tools_config ) - for config_filename in tool_configs: - tree = parse_xml( config_filename ) - root = tree.getroot() - tool_path = root.get( 'tool_path' ) - if tool_path not in [ None, False ]: - paths_to_check.append( resolve_path( tool_path, self.root ) ) # Check that required directories exist for path in paths_to_check: if path not in [ None, False ] and not os.path.isdir( path ): Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket