commit/galaxy-central: natefoo: Bugfix for pgcleanup.py
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/6b35719fdcc8/ changeset: 6b35719fdcc8 user: natefoo date: 2012-09-10 20:07:05 summary: Bugfix for pgcleanup.py affected #: 2 files diff -r 6e79399b38d22512d8438522d26945c53f95b11a -r 6b35719fdcc8356267ebe786ecd738d0c14fb52b lib/galaxy/config.py --- a/lib/galaxy/config.py +++ b/lib/galaxy/config.py @@ -186,6 +186,8 @@ self.os_conn_path = kwargs.get( 'os_conn_path', '/' ) self.object_store_cache_size = float(kwargs.get( 'object_store_cache_size', -1 )) self.distributed_object_store_config_file = kwargs.get( 'distributed_object_store_config_file', None ) + if self.distributed_object_store_config_file is not None: + self.distributed_object_store_config_file = resolve_path( self.distributed_object_store_config_file, self.root ) # Parse global_conf and save the parser global_conf = kwargs.get( 'global_conf', None ) global_conf_parser = ConfigParser.ConfigParser() diff -r 6e79399b38d22512d8438522d26945c53f95b11a -r 6b35719fdcc8356267ebe786ecd738d0c14fb52b scripts/cleanup_datasets/pgcleanup.py --- a/scripts/cleanup_datasets/pgcleanup.py +++ b/scripts/cleanup_datasets/pgcleanup.py @@ -90,6 +90,7 @@ config_dict = {} for key, value in config_parser.items('app:main'): config_dict[key] = value + config_dict['root_dir'] = galaxy_root self.config = galaxy.config.Configuration(**config_dict) 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