From: Brandon King Date: Mon, 19 Nov 2007 20:16:47 +0000 (+0000) Subject: [project @ changed config file section from 'server_info' to 'config_file_server'] X-Git-Tag: 0.1.0~58 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=93897e8a6c02c8aec51940e9546bee4279a7132e [project @ changed config file section from 'server_info' to 'config_file_server'] --- diff --git a/bin/config_pipeline2.py b/bin/config_pipeline2.py index 8e9e81d..2739cce 100644 --- a/bin/config_pipeline2.py +++ b/bin/config_pipeline2.py @@ -297,7 +297,7 @@ def retrieve_config(conf_info, flowcell, cfg_filepath, genome_dir): ~/.ga_frontend.conf with: - [server_info] + [config_file_server] base_host_url: http://host:port return True if successful, False is failure diff --git a/bin/retrieve_eland_config.py b/bin/retrieve_eland_config.py index f9acb52..cb4fa84 100644 --- a/bin/retrieve_eland_config.py +++ b/bin/retrieve_eland_config.py @@ -77,8 +77,8 @@ def constructConfigParser(): """ parser = SafeConfigParser() parser.read([CONFIG_SYSTEM, CONFIG_USER]) - if not parser.has_section('server_info'): - parser.add_section('server_info') + if not parser.has_section('config_file_server'): + parser.add_section('config_file_server') return parser @@ -94,8 +94,8 @@ def getCombinedOptions(): options, args = cl_parser.parse_args() if options.url is None: - if conf_parser.has_option('server_info', 'base_host_url'): - options.url = conf_parser.get('server_info', 'base_host_url') + if conf_parser.has_option('config_file_server', 'base_host_url'): + options.url = conf_parser.get('config_file_server', 'base_host_url') print 'USING OPTIONS:' print ' URL:', options.url