Skip to content

Commit

Permalink
Time not observing -> Time lost
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 12, 2024
1 parent f47968f commit 0524d44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lvmapi/data/night_log_email_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h1 class="header-text">
<ul>
<li>Night length: {{ metrics.night_length }}</li>
<li>Number of object exposures: {{ metrics.n_object_exps }}</li>
<li>Time not observing: {{ metrics.time_lost if metrics.night_started else "N/A" }}</li>
<li>Time lost: {{ metrics.time_lost if metrics.night_started else "N/A" }}</li>
<li>Efficiency (with nominal overheads): {{ metrics.efficiency_nominal|string + "%" if metrics.night_started else "N/A" }}</li>
<li>Efficiency (with readout): {{ metrics.efficiency_readout|string + "%" if metrics.night_started else "N/A" }}</li>
<li>Efficiency (without readout): {{ metrics.efficiency_no_readout|string + "%" if metrics.night_started else "N/A" }}</li>
Expand Down
2 changes: 1 addition & 1 deletion src/lvmapi/tools/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ async def get_plaintext_night_log(sjd: int | None = None):
-------------
- Night length: {night_length}.
- Number of object exposures: {n_object_exps}.
- Time not observing: {time_lost}
- Time lost: {time_lost}
- Efficiency (with nominal overheads): {efficiency_nominal}%
- Efficiency (with readout): {efficiency_no_readout}%
- Efficiency (without readout): {efficiency_no_readout}%
Expand Down

0 comments on commit 0524d44

Please sign in to comment.