Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion madanalysis/misc/run_recast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1134,7 +1134,11 @@ def compute_cls(self, analyses, dataset):
bibfile = os.path.join(self.dirname, "bibliography.bib")
print_gl_citation = self.main.recasting.global_likelihoods_switch
with open(bibfile, "w") as bib:
bib.write(spey.cite() + "\n")
try:
bib.write(spey.cite() + "\n")
except Exception as err:
self.logger.debug(err)
pass
if self.pyhf_config:
pyhfbib = spey.get_backend_bibtex("pyhf")
for _, item in pyhfbib.items():
Expand Down
Loading