MissingSectionHeaderError
Using the master branch of pesummary, I encountered the following
2019-02-14 15:18:52 PESummary INFO : Command line arguments: Namespace(add_to_existing=False, approximant=None, baseurl=None, config=['/home/gregory.ashton/public_html/bilby_pipe_example/GW150914.ini', '/home/gregory.ashton/public_html/bilby_pipe_example/GW150914.ini', '/home/gregory.ashton/public_html/bilby_pipe_example/GW150914.ini'], dump=False, email='None', existing=None, gracedb=None, inj_file=None, samples=['/home/gregory.ashton/public_html/bilby_pipe_example/results_GW150914/result/GW150914_H1L1_emcee_G184098_result.h5', '/home/gregory.ashton/public_html/bilby_pipe_example/results_GW150914/result/GW150914_H1_emcee_G184098_result.h5', '/home/gregory.ashton/public_html/bilby_pipe_example/results_GW150914/result/GW150914_L1_emcee_G184098_result.h5'], sensitivity=False, user='albert.einstein', verbose=False, webdir='/home/gregory.ashton/public_html/bilby_pipe_example/results_GW150914/results_page')
2019-02-14 15:18:52 PESummary DEBUG : The following user submitted the job gregory.ashton
2019-02-14 15:18:52 PESummary DEBUG : No url is provided. The url https://ldas-jobs.ligo.caltech.edu/~gregory.ashton/bilby_pipe_example/results_GW150914/results_page will be used
2019-02-14 15:18:52 PESummary DEBUG : Converting /home/gregory.ashton/public_html/bilby_pipe_example/results_GW150914/result/GW150914_H1L1_emcee_G184098_result.h5 to standard format
2019-02-14 15:18:52 PESummary INFO : BILBY >= v0.3.3 was used to generate /home/gregory.ashton/public_html/bilby_pipe_example/results_GW150914/result/GW150914_H1L1_emcee_G184098_result.h5
15:18 bilby INFO : Running bilby version: 0.3.6: (CLEAN) d9d9d5b 2019-02-11 11:22:41 +1100
/home/gregory.ashton/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
/home/gregory.ashton/anaconda3/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
2019-02-14 15:18:53 PESummary DEBUG : Trying to load with file with deepdish
2019-02-14 15:18:54 PESummary DEBUG : Trying to load with file with deepdish
Traceback (most recent call last):
File "/home/gregory.ashton/anaconda3/bin/summarypages.py", line 4, in <module>
__import__('pkg_resources').run_script('pesummary==0.1.4', 'summarypages.py')
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 658, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pkg_resources/__init__.py", line 1438, in run_script
exec(code, namespace, namespace)
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pesummary-0.1.4-py3.6.egg/EGG-INFO/scripts/summarypages.py", line 517, in <module>
inputs = Input(opts)
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pesummary-0.1.4-py3.6.egg/pesummary/inputs.py", line 136, in __init__
self.result_files = opts.samples
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pesummary-0.1.4-py3.6.egg/pesummary/inputs.py", line 255, in result_files
config_file=config)
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pesummary-0.1.4-py3.6.egg/pesummary/inputs.py", line 479, in convert_to_standard_format
f = one_format(results_file, injection_file, config=config_file)
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pesummary-0.1.4-py3.6.egg/pesummary/one_format/data_format.py", line 127, in __init__
fixed_parameters = self.fixed_parameters(self.config)
File "/home/gregory.ashton/anaconda3/lib/python3.6/site-packages/pesummary-0.1.4-py3.6.egg/pesummary/one_format/data_format.py", line 142, in fixed_parameters
config.read(cp)
File "/home/gregory.ashton/anaconda3/lib/python3.6/configparser.py", line 697, in read
self._read(fp, filename)
File "/home/gregory.ashton/anaconda3/lib/python3.6/configparser.py", line 1080, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: '/home/gregory.ashton/public_html/bilby_pipe_example/GW150914.ini', line: 2
'gracedb = G184098\n'