4 | | 2. Javascript file `select_dna_for_start_plate.js` in `resources/libprep/` updated:[[BR]]a. Function `initPage()` updated with new third step for selecting library preparation kit to use.[[BR]]b. Function `initializeStep3(event)` updated to call `LibPrepServlet` with command "`GetLibPrepKitsAsPlates`" and callback function `kitPlatesInfoLoaded(response)` to retrieve information on available wells for kits for placing the selected number of DNA aliquots on a start plate.[[BR]]c. Function `kitPlatesInfoLoaded(response)` retrieves information on available wells for kits for placing the selected number of DNA aliquots on a start plate, and presents the results graphically, with one plate view per used kit. The user may select one of these used kits, or an unused available kit, in a menu.[[BR]]d. Function `initializeStep4(event)` among other things calls `DNAServlet` with command "`GetNextAutoGeneratedPlateName`" and callback function `nextPlateNameLoaded(response)`.[[BR]]e. Function `nextPlateNameLoaded(response)` retrieves information on the selected library preparation kit and calls new function `buildKitInfoPlate(plate)` to present the layout of the new start plate with the selected DNA aliquots placed in reserved wells.[[BR]]f. New function `buildKitInfoPlate(plate)` generates HTML code for displaying a table representing the FPA part of a start plate for a kit.[[BR]]g. Function `submit` updated to call `LibPrepServlet` with command "`RegisterReagentLotNoFile`" and parameters "`overwrite`" and "`update`" set to `true`, parameter "`referenceName`" set to the name of the selected library preparation kit, and callback function `kitUpdateSubmissionResults(response)`. This will update data for the used library preparation kit.[[BR]]h. New function `kitUpdateSubmissionResults(response)` calls `DnaServlet` with command "`CreateDnaOrLibPlate`" with callback function `submissionResults(response)`.[[BR]]i. Convenience functions `wellStrToRow(wellStr)` and `wellStrToCol(wellStr)` takes a plate well location string consisting of row letter plus column number and returns the row and column indices, respectively. |
| 4 | 2. Javascript file `select_dna_for_start_plate.js` in `resources/libprep/` updated:[[BR]]a. Function `initPage()` updated with new third step for selecting library preparation kit to use.[[BR]]b. Function `initializeStep3(event)` updated to call `LibPrepServlet` with command "`GetLibPrepKitsAsPlates`" and callback function `kitPlatesInfoLoaded(response)` to retrieve information on available wells for kits for placing the selected number of DNA aliquots on a start plate.[[BR]]c. Function `kitPlatesInfoLoaded(response)` retrieves information on available wells for kits and calls new function `buildKitInfoPlate(plate)` to present the layout of the new start plate graphically with the selected DNA aliquots placed in reserved wells, with one plate view per used kit. The user may select one of these used kits, or an unused available kit, in a menu.[[BR]]d. New function `buildKitInfoPlate(plate)` generates HTML code for displaying a table representing the FPA part of a start plate for a kit.[[BR]]e. Function `initializeStep4(event)` among other things calls `DNAServlet` with command "`GetNextAutoGeneratedPlateName`" and callback function `nextPlateNameLoaded(response)`.[[BR]]f. Function `nextPlateNameLoaded(response)` retrieves information on the selected library preparation kit and presents the layout of the new start plate with the selected DNA aliquots placed in reserved wells.[[BR]]g. Function `submit` updated to call `LibPrepServlet` with command "`RegisterReagentLotNoFile`" and parameters "`overwrite`" and "`update`" set to `true`, parameter "`referenceName`" set to the name of the selected library preparation kit, and callback function `kitUpdateSubmissionResults(response)`. This will update data for the used library preparation kit.[[BR]]h. New function `kitUpdateSubmissionResults(response)` calls `DnaServlet` with command "`CreateDnaOrLibPlate`" with callback function `submissionResults(response)`.[[BR]]i. Convenience functions `wellStrToRow(wellStr)` and `wellStrToCol(wellStr)` takes a plate well location string consisting of row letter plus column number and returns the row and column indices, respectively. |