Added importing of PCR results.
This commit is contained in:
@@ -3,9 +3,10 @@
|
||||
<head>
|
||||
<title>Submission Details for {{ sub['Plate Number'] }}</title>
|
||||
</head>
|
||||
{% set excluded = ['reagents', 'samples', 'controls', 'ext_info', 'pcr_info'] %}
|
||||
<body>
|
||||
<h2><u>Submission Details for {{ sub['Plate Number'] }}</u></h2>
|
||||
<p>{% for key, value in sub.items() if key != 'reagents' and key != 'samples' and key != 'controls' and key != 'ext_info' %}
|
||||
<p>{% for key, value in sub.items() if key not in excluded %}
|
||||
{% if loop.index == 1 %}
|
||||
{% if key=='Cost' %}{{ key }}: {{ "${:,.2f}".format(value) }}{% else %}{{ key }}: {{ value }}{% endif %}<br>
|
||||
{% else %}
|
||||
@@ -62,5 +63,25 @@
|
||||
{% endfor %}</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if sub['pcr_info'] %}
|
||||
{% for entry in sub['pcr_info'] %}
|
||||
{% if 'comment' not in entry.keys() %}
|
||||
<h3><u>qPCR Momentum Status:</u></h3>
|
||||
{% else %}
|
||||
<h3><u>qPCR Status:</u></h3>
|
||||
{% endif %}
|
||||
<p>{% for key, value in entry.items() if key != 'imported_by'%}
|
||||
{% if loop.index == 1%}
|
||||
{{ key|replace('_', ' ')|title() }}: {{ value }}<br>
|
||||
{% else %}
|
||||
{% if "column" in key %}
|
||||
{{ key|replace('_', ' ')|title() }}: {{ value }}uL<br>
|
||||
{% else %}
|
||||
{{ key|replace('_', ' ')|title() }}: {{ value }}<br>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user