Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
lalsuite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
109
Issues
109
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
28
Merge Requests
28
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lscsoft
lalsuite
Commits
b40d06a4
Commit
b40d06a4
authored
Mar 25, 2018
by
John Douglas Veitch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old VOTable stuff from cbcBayesPostProc.py
parent
7b39eb3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
lalinference/python/cbcBayesPostProc.py
lalinference/python/cbcBayesPostProc.py
+0
-11
No files found.
lalinference/python/cbcBayesPostProc.py
View file @
b40d06a4
...
...
@@ -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"
)
+
' .'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment