- Timestamp:
- Nov 26, 2013, 9:52:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/libprep/create_pools.jsp
r2150 r2151 432 432 var schema = PoolSchema.getById(libPlate.poolSchema); 433 433 var barcodeVariant = PoolSchema.getBarcodeVariantByName(schema, libPlate.barcodeVariant); 434 435 var numSeparateMix = 0; 436 var numLowQuantity = 0; 437 var numExcluded = 0; 434 438 435 439 for (var poolNo = 0; poolNo < Plate.getPools(); poolNo++) … … 442 446 var well = wells[wellNo]; 443 447 var lib = well.extract; 444 if (lib && !lib.excludeFromPool) 445 { 446 libs[libs.length] = lib; 448 if (lib) 449 { 450 if (lib.excludeFromPool) 451 { 452 numExcluded++; 453 } 454 else 455 { 456 libs[libs.length] = lib; 457 } 447 458 } 448 459 } … … 457 468 var lib = libs[libNo]; 458 469 calculateRemarks(lib, schema, barcodeVariant); 470 if (lib.eb != 0 || mixingStrategy == 'fixed') numSeparateMix++; 471 if (lib.volume > lib.actualVolume) numLowQuantity++; 459 472 } 460 473 … … 490 503 frm['comment.'+poolNo].value = comments; 491 504 } 505 506 setInnerHTML('num_separate_mix', numSeparateMix); 507 setInnerHTML('num_low_quantity', numLowQuantity); 508 setInnerHTML('num_excluded', numExcluded); 492 509 } 493 510 … … 988 1005 </tbl:toolbar> 989 1006 1007 <div style="margin: 1em;" class="messagecontainer note"> 1008 <base:icon image="info.png"/> 1009 <b>Separate mix:</b> <span id="num_separate_mix"></span>, 1010 <b>Low quantity:</b> <span id="num_low_quantity"></span>, 1011 <b>Excluded:</b> <span id="num_excluded"></span> 1012 </div> 1013 990 1014 <table class="plate" style="margin: 1em 1em 1em 1em;" id="plate"> 991 1015 <%
Note: See TracChangeset
for help on using the changeset viewer.