Changeset 2239
- Timestamp:
- Feb 21, 2014, 8:50:01 AM (9 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/resources/libprep/sequencing_started.jsp
r2237 r2239 158 158 Main.hide('existing-sequencing-runs'); 159 159 setInnerHTML('existing-sequencing-runs', ''); 160 setInputStatus('sequencingCycles', '', ''); 160 161 161 162 var reader = new FileReader(); … … 256 257 setInnerHTML('flowCellName', Main.encodeTags(flowCell.name)); 257 258 259 if (flowCell.SequencingCycles != info.SequencingCycles) 260 { 261 setInputStatus('sequencingCycles', 'Not same as planned SequencingCycles ('+flowCell.SequencingCycles+').', 'warning'); 262 } 263 264 258 265 var pools = flowCell.pools; 259 266 var html = ''; … … 558 565 </td> 559 566 <td class="status" id="runParametersXml.status"></td> 560 <td class="help" rowspan=" 12"><span id="runParametersXml.message" class="message" style="display:none;"></span>561 Select the <b>runParameters.xml</b> file that was created by the HiSeq. Typically found in562 <b>D:\Illumina\HiSeqTemp\<run-folder></b> subfolder.567 <td class="help" rowspan="8"><span id="runParametersXml.message" class="message" style="display:none;"></span> 568 Select the <b>runParameters.xml</b> file that was created by the HiSeq. Typically found 569 on drive <b>D: or E:</b> in <b>\Illumina\HiSeqTemp\<run-folder></b> subfolder. 563 570 </td> 564 571 </tr> … … 600 607 <td class="subprompt">Sequencing cycles</td> 601 608 <td class="input" id="sequencingCycles"></td> 602 <td class="status"></td> 609 <td class="status" id="sequencingCycles.status"></td> 610 <td class="help"><span id="sequencingCycles.message" class="message" style="display: none;"></span></td> 603 611 </tr> 604 612 <tr valign="top" class="fc-info"> 605 613 <td class="prompt" colspan="2" id="flowCellName">Flow cell information</td> 606 614 <td class="status"></td> 615 <td class="help"></td> 607 616 </tr> 608 617 <tr valign="top" class="fc-info"> … … 610 619 <td class="input" id="pools"></td> 611 620 <td class="status"></td> 621 <td class="help"></td> 612 622 </tr> 613 623 <tr valign="top" class="fc-info"> … … 615 625 <td class="input" id="libPlate"></td> 616 626 <td class="status"></td> 627 <td class="help"></td> 617 628 </tr> 618 629 <tbody id="existing-sequencing-runs" style="border-bottom: 1em solid transparent;"> -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/SequencingRunServlet.java
r2236 r2239 282 282 String sequencingComments = Values.getStringOrNull((String)jsonSeq.get("comments")); 283 283 String sequencingOperator = Values.getStringOrNull((String)jsonSeq.get("operator")); 284 String sequencingCycles = (String)jsonRunParameters.get("SequencingCycles"); 284 285 Date startDate = Reggie.CONVERTER_STRING_TO_DATE.convert((String)jsonRunParameters.get("SequencingStart")); 285 286 … … 299 300 // Clear result of any previous sequencing runs (eg. FirstBaseReportFailed) 300 301 Annotationtype.SEQUENCING_RESULT.setAnnotationValue(dc, flowCell, null); 302 // Overwrite sequencing cycles on flow cell if different 303 if (!sequencingCycles.equals(Annotationtype.SEQUENCING_CYCLES.getAnnotationValue(dc, flowCell))) 304 { 305 Annotationtype.SEQUENCING_CYCLES.setAnnotationValue(dc, flowCell, sequencingCycles); 306 } 301 307 sequenceRun.addPhysicalBioAssay(flowCell); 302 308 … … 305 311 Annotationtype.SEQUENCING_START.setAnnotationValue(dc, sequenceRun, startDate); 306 312 Annotationtype.SEQUENCING_RUN_NUMBER.setAnnotationValue(dc, sequenceRun, jsonRunParameters.get("ScanNumber")); 307 Annotationtype.SEQUENCING_CYCLES.setAnnotationValue(dc, sequenceRun, jsonRunParameters.get("SequencingCycles"));313 Annotationtype.SEQUENCING_CYCLES.setAnnotationValue(dc, sequenceRun, sequencingCycles); 308 314 Annotationtype.DATA_FILES_FOLDER.setAnnotationValue(dc, sequenceRun, jsonRunParameters.get("RunID")); 309 315 dc.commit();
Note: See TracChangeset
for help on using the changeset viewer.