Commit b40d06a4 authored by John Douglas Veitch's avatar John Douglas Veitch

Remove old VOTable stuff from cbcBayesPostProc.py

parent 7b39eb3f
......@@ -268,7 +268,6 @@ def cbcBayesPostProc(
posterior samples generated by the parameter estimation codes with 1D/2D plots
and stats from the marginal posteriors for each parameter/set of parameters.
"""
votfile=None
if eventnum is not None and injfile is None:
print "You specified an event number but no injection file. Ignoring!"
......@@ -307,11 +306,6 @@ def cbcBayesPostProc(
elif ss_flag and ns_flag:
raise RuntimeError("Undefined input format. Choose only one of:")
elif '.xml' in data[0]:
peparser=bppu.PEOutputParser('xml')
commonResultsObj=peparser.parse(data[0])
thefile=open(data[0],'r')
votfile=thefile.read()
elif '.hdf' in data[0] or '.h5' in data[0]:
if len(data) > 1:
peparser = bppu.PEOutputParser('hdf5s')
......@@ -1134,11 +1128,6 @@ def cbcBayesPostProc(
except:
print 'Unable to compute the covariance matrix.'
#Create a section for run configuration information if it exists
if pos._votfile is not None:
html_vot=html.add_section('Run information',legend=legend)
html_vot.write(pos.write_vot_info())
html_footer=html.add_section('')
html_footer.p('Produced using cbcBayesPostProc.py at '+strftime("%Y-%m-%d %H:%M:%S")+' .')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment