Skip to content

Commit

Permalink
Update bin/pygrb/pycbc_pygrb_page_tables
Browse files Browse the repository at this point in the history
Co-authored-by: Tito Dal Canton <tito@dalcanton.it>
  • Loading branch information
pannarale and titodalcanton authored Jan 30, 2025
1 parent b1b3c7f commit 0f6217e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions bin/pygrb/pycbc_pygrb_page_tables
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,8 @@ if onsource_file:

# Table data: assemble human readable message when no trigger is recovered
if not loud_on_bestnr_trigs:
td = [["There are no events"] + ["-" for number in range(11)] +
["-" for ifo in ifos] + ["-"]]
td = list(zip(*td))
td = [list("-" * len(format_strings))]
td[0][0] = "There are no events"
td = [np.asarray(d) for d in td]
html_table = pycbc.results.html_table(td, th,
format_strings=format_strings,
Expand Down

0 comments on commit 0f6217e

Please sign in to comment.