Changeset 1948
- Timestamp:
- Apr 22, 2013, 1:17:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/libprep/pool_protocol2.jsp
r1929 r1948 61 61 var debug = false; 62 62 var currentStep = 1; 63 var LIMIT_FOR_5_ML = 2.0; 63 64 64 65 function init() … … 139 140 remarks[remarks.length] = 'SpeedVac'; 140 141 if (lib.molarity < 2) remarks[remarks.length] = 'Use 5 µl'; 142 } 143 if (lib.volume < LIMIT_FOR_5_ML) 144 { 145 lib.volume *= 2; 146 lib.eb *= 2; 147 remarks[remarks.length] = 'Mix 10µl'; 141 148 } 142 149 } … … 178 185 setInnerHTML('molarity.'+idSuffix, Numbers.formatNumber(lib.molarity, 2)); 179 186 180 setInnerHTML('volume.mol5.'+idSuffix, Numbers.formatNumber(lib.volume, 2)); 181 setInnerHTML('eb.mol5.'+idSuffix, Numbers.formatNumber(lib.eb, 2)); 182 setInnerHTML('volume.mol10.'+idSuffix, Numbers.formatNumber(lib.volume*2, 2)); 183 setInnerHTML('eb.mol10.'+idSuffix, Numbers.formatNumber(lib.eb*2, 2)); 187 setInnerHTML('volume.'+idSuffix, Numbers.formatNumber(lib.volume, 2)); 188 setInnerHTML('eb.'+idSuffix, Numbers.formatNumber(lib.eb, 2)); 184 189 185 190 var indexSet = barcodeVariant.indexSets[well.column]; … … 238 243 var i = name.indexOf('.m'); 239 244 text += '<div class="lib">'+name.substring(0, i)+'.<br> '+name.substring(i)+'</div>'; 240 241 245 text += '<div><span class="volume">'+Numbers.formatNumber(lib.volume, 1)+'µl</span>'; 242 246 text += '<span class="eb">'+Numbers.formatNumber(lib.eb, 1)+'µl</span></div>'; 243 text += '<div><span class="volume">'+Numbers.formatNumber(lib.volume*2, 1)+'µl</span>';244 text += '<span class="eb">'+Numbers.formatNumber(lib.eb*2, 1)+'µl</span></div>';245 247 text += '<div class="remarks">'+ lib.remarks.join('; ') + '</div>'; 246 248 } … … 348 350 } 349 351 350 #listview .m ol5, #listview .mol10352 #listview .mix 351 353 { 352 354 width: 8em; … … 355 357 } 356 358 357 #listview .empty .m ol5, #listview .empty .mol10359 #listview .empty .mix 358 360 { 359 361 visibility: hidden; … … 470 472 <th></th> 471 473 <th class="lib"></th> 472 <th class="workplate">Work</th>473 474 <th>Remain</th> 474 475 <th>DNA</th> 475 <th >2nM, 5µl</th>476 <th>2nM, 10µl</th>476 <th class="workplate">Work</th> 477 <th>2nM, 5/10µl</th> 477 478 <th></th> 478 479 </tr> … … 481 482 <th>Pool</th> 482 483 <th class="lib">Library</th> 483 <th class="workplate">plate</th>484 484 <th>(ng)</th> 485 485 <th>(nM)</th> 486 <th >(µl)</th>486 <th class="workplate">plate</th> 487 487 <th>(µl)</th> 488 488 <th>Remarks</th> … … 513 513 <td class="pool" id="pool.<%=idSuffix%>"></td> 514 514 <td class="lib" id="lib.<%=idSuffix%>">empty</td> 515 <td class="workplate"><%=rowF.format(r)+colF.format(c)%></td>516 515 <td class="remain" id="remain.<%=idSuffix%>"></td> 517 516 <td class="molarity" id="molarity.<%=idSuffix%>"></td> 518 <td class=" mol5"><span class="volume" id="volume.mol5.<%=idSuffix%>"></span>+<span class="eb" id="eb.mol5.<%=idSuffix%>"></span></td>519 <td class="m ol10"><span class="volume" id="volume.mol10.<%=idSuffix%>"></span>+<span class="eb" id="eb.mol10.<%=idSuffix%>"></span></td>517 <td class="workplate"><%=rowF.format(r)+colF.format(c)%></td> 518 <td class="mix"><span class="volume" id="volume.<%=idSuffix%>"></span>+<span class="eb" id="eb.<%=idSuffix%>"></span></td> 520 519 <td class="remarks" id="remarks.<%=idSuffix%>"></td> 521 520 </tr>
Note: See TracChangeset
for help on using the changeset viewer.