Changeset 2235
- Timestamp:
- Feb 19, 2014, 3:39:52 PM (9 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/analysis/sequencing_confirm.jsp
r2229 r2235 130 130 131 131 Forms.checkRadio(frm.outcome, seqRun.SequencingResult || 'Successful'); 132 outcomeOnChange(); 132 133 133 134 var html = ''; … … 139 140 } 140 141 142 function outcomeOnChange() 143 { 144 var frm = document.forms['reggie']; 145 146 frm.flagPools.disabled = !document.getElementById('outcomeFailed').checked; 147 } 141 148 142 149 function formatDate(value) … … 220 227 var outcome = Forms.getCheckedRadio(frm, 'outcome').value; 221 228 var submitInfo = {}; 229 230 submitInfo.flagPools = !frm.flagPools.disabled && frm.flagPools.checked ? true : false; 222 231 223 232 seqRun.comments = frm.sequencingComments.value; … … 383 392 <td class="input" colspan="2"> 384 393 <label><input type="radio" name="outcome" id="outcomeSuccess" value="Successful" 394 onclick="outcomeOnChange()" 385 395 checked>Success</label> - continue with demux<br> 386 396 <label><input type="radio" name="outcome" id="outcomeFirstBaseReportFailed" value="FirstBaseReportFailed" 397 onclick="outcomeOnChange()" 387 398 >FirstBaseReportFailed</label> - re-start sequencing<br> 388 399 <label><input type="radio" name="outcome" id="outcomeFailed" value="Failed" 389 >Failure</label> - flag pools for re-clustering 400 onclick="outcomeOnChange()" 401 >Failure</label><br> 402 <img src="../images/joinbottom.gif"><label><input type="checkbox" name="flagPools" value="1" disabled checked>Flag pools for re-clustering</label> 403 390 404 </td> 391 405 <td class="help"> … … 394 408 is made from this run.<br> 395 409 Select the <b>Failure</b> option if further analysis of the data is not possible. 396 No child bioassay set will be created and existing pooled libraries will410 No child bioassay set will be created. Existing pooled libraries can optionally 397 411 be flagged for re-clustering on a new flow cell. 398 412 </td> -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/SequencingRunServlet.java
r2228 r2235 319 319 JSONObject jsonSeq = (JSONObject)jsonReq.get("sequencingRun"); 320 320 JSONObject jsonFlowCell = (JSONObject)jsonSeq.get("flowCell"); 321 boolean flagPools = Boolean.TRUE.equals(jsonReq.get("flagPools")); 321 322 322 323 Number seqId = (Number)jsonSeq.get("id"); … … 329 330 PhysicalBioAssay flowCell = PhysicalBioAssay.getById(dc, fcId.intValue()); 330 331 331 if (SequencingRun.SEQUENCING_FAILED.equals(outcome) )332 if (SequencingRun.SEQUENCING_FAILED.equals(outcome) && flagPools) 332 333 { 333 334 BioMaterialList flaggedPools = null;
Note: See TracChangeset
for help on using the changeset viewer.