Skip to content

Commit

Permalink
LIMS-1319: Show dose for all data collection types (#791)
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Williams <[email protected]>
  • Loading branch information
ndg63276 and Mark Williams committed Jul 9, 2024
1 parent da53c52 commit 4584ce2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions client/src/js/templates/dc/dc.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,11 @@ <h1 class="title"></h1>
<li data-testid="dc-resolution">Resolution: <%-RESOLUTION%>&#197;</li>
<li data-testid="dc-wavelength">Wavelength: <%-WAVELENGTH%>&#197;</li>
<li data-testid="dc-exposure-time">Exposure: <%-EXPOSURETIME%>s</li>
<% if (DCT == 'SAD' || DCT == 'OSC' || DCT == 'Diamond Anvil High Pressure') { %>
<%if (TOTALABSDOSE) { %>
<%if (DCC > 1) { %>
<li data-testid="dc-dose">Total Dose: <%-TOTALDOSE%>MGy</li>
<% } else { %>
<li data-testid="dc-dose">Dose: <%-TOTALABSDOSE%>MGy</li>
<% } } }%>
<%if (DCC > 1 && TOTALDOSE) { %>
<li data-testid="dc-dose">Total Dose: <%-TOTALDOSE%>MGy</li>
<% } else if (DCC == 1 && TOTALABSDOSE) { %>
<li data-testid="dc-dose">Dose: <%-TOTALABSDOSE%>MGy</li>
<% } %>
<li data-testid="dc-transmission">Transmission: <%-TRANSMISSION%>%</li>
<li data-testid="dc-beam-size">Beamsize: <%-BSX%>x<%-BSY%>&mu;m</li>
<li data-testid="dc-type">Type: <% if (DCT) print(DCT) %></li>
Expand Down

0 comments on commit 4584ce2

Please sign in to comment.