- Timestamp:
- Apr 12, 2013, 2:34:01 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/libprep/mrna_protocol2.jsp
r1927 r1929 61 61 var debug = false; 62 62 var currentStep = 1; 63 63 64 var QUANTITY_REGULAR = 1.1; 65 var QUANTITY_QC = 1.22; 66 var LOW_QUANTITY_WARNING_FACTOR = 1.5; 67 64 68 function init() 65 69 { … … 139 143 rna.external = rna.name == EXTERNAL_RNA_NAME; 140 144 141 // Set the 'QC' flag if more than 1. 2µg is used142 rna.qc = rna.usedQuantity > 1.2;145 // Set the 'QC' flag if more than 1.1µg is used 146 rna.qc = rna.usedQuantity > QUANTITY_REGULAR; 143 147 144 148 <% … … 171 175 remarks[remarks.length] = 'No quantity'; 172 176 } 173 else if (rna.remainingQuantity < (rna.qc ? 1.22 : 1.1))177 else if (rna.remainingQuantity < (rna.qc ? QUANTITY_QC : QUANTITY_REGULAR) * LOW_QUANTITY_WARNING_FACTOR) 174 178 { 175 179 remarks[remarks.length] = 'Low quantity'; … … 495 499 <h1>Lab protocol for mRNA and cDNA preparation <span class="reggie">Reggie <%=reggie.getAbout().getVersion() %></span></h1> 496 500 497 <table style="width: 100%; border: 0px;" class="protocolheader">501 <table style="width: 100%;" class="protocolheader"> 498 502 <tr valign="top"> 499 <th style="width: 30%;">Work plate: <%=HTML.encodeTags(plate.getName())%></th> 500 <th style="width: 20%; text-align: right;">Comments: </th> 501 <td rowspan="3"><%=HTML.niceFormat(plate.getDescription()) %></td> 503 <th style="width: 40%;">Work plate: <%=HTML.encodeTags(plate.getName())%></th> 504 <th style="width: 60%;">Comments:</th> 502 505 </tr> 503 <tr> 504 <th style="width: 50%;" colspan="2">Date+operator for mRNA:</th> 506 <tr valign="top"> 507 <th style="width: 40%; padding-bottom: 1.5em;">Date+operator for mRNA:</th> 508 <td rowspan="2"><%=HTML.niceFormat(plate.getDescription()) %></td> 505 509 </tr> 506 <tr >507 <th style="width: 50%;" colspan="2">Date+operator for cDNA:</th>510 <tr valign="top"> 511 <th style="width: 40%; padding-bottom: 1.5em;">Date+operator for cDNA:</th> 508 512 </tr> 509 513 </table>
Note: See TracChangeset
for help on using the changeset viewer.