Changeset 5832
- Timestamp:
- Feb 21, 2020, 4:19:57 PM (3 years ago)
- Location:
- extensions/net.sf.basedb.meludi/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.meludi/trunk/resources/personal/ffpe_section_registration_alt_rec.js
r5214 r5832 167 167 var yellowLabelMsg = 'Assigned yellow label for '+ffpeSectionName+' (selected for processing).'; 168 168 var nofSectionsMsg = 'Number of sections for '+ffpeSectionName+'.'; 169 var pctViabTumourCellsMsg = '% Viable tumour cells for '+ffpeSectionName+'.';169 //var pctViabTumourCellsMsg = '% Viable tumour cells for '+ffpeSectionName+'.'; 170 170 var opDelCmtMsg = 'In this field, enter information specific for for '+ffpeSectionName+'.'; 171 171 var disabledAttribute = ''; … … 209 209 var heGlassEBoxMsg = 'Box-number and position where the H&E glass "E" will be placed.'; 210 210 var disabledAttribute = ''; 211 var pctTumourCellsFMsg = '% Tumour cells for '+ffpeSectionName+'.F.'212 var pctTumourCellsEMsg = '% Tumour cells for '+ffpeSectionName+'.E.'211 //var pctTumourCellsFMsg = '% Tumour cells for '+ffpeSectionName+'.F.' 212 //var pctTumourCellsEMsg = '% Tumour cells for '+ffpeSectionName+'.E.' 213 213 214 214 /* … … 282 282 html += '</tr>'; 283 283 284 /* 284 285 // H&E glass "Front" percentage of tumor cells 285 286 html += '<tr>'; … … 291 292 html += '<td class="help"><span id="pctTumourCellsF.'+i+'.message" class="message"></span>'+pctTumourCellsFMsg+'<span id="pctTumourCellsF.'+i+'.message" class="message"></span></td>'; 292 293 html += '</tr>'; 294 */ 293 295 294 296 // H&E glass "End" … … 304 306 html += '</tr>'; 305 307 308 /* 306 309 // H&E glass "End" percentage of tumor cells 307 310 html += '<tr>'; … … 313 316 html += '<td class="help"><span id="pctTumourCellsE.'+i+'.message" class="message"></span>'+pctTumourCellsEMsg+'<span id="pctTumourCellsE.'+i+'.message" class="message"></span></td>'; 314 317 html += '</tr>'; 318 */ 315 319 } 316 320 Doc.element('ffpe-sections').innerHTML = html; … … 854 858 ffpeSection.heGlassFBox = frm['heGlassFBox.'+i].value; 855 859 ffpeSection.heGlassFPosition = frm['heGlassFPosition.'+i].value; 856 ffpeSection.pctTumourCellsF = frm['pctTumourCellsF.'+i].value;860 //ffpeSection.pctTumourCellsF = frm['pctTumourCellsF.'+i].value; 857 861 858 862 ffpeSection.heGlassEBox = frm['heGlassEBox.'+i].value; 859 863 ffpeSection.heGlassEPosition = frm['heGlassEPosition.'+i].value; 860 ffpeSection.pctTumourCellsE = frm['pctTumourCellsE.'+i].value;864 //ffpeSection.pctTumourCellsE = frm['pctTumourCellsE.'+i].value; 861 865 // 862 866 ffpeSectionInfo.ffpeSections[i] = ffpeSection; -
extensions/net.sf.basedb.meludi/trunk/src/net/sf/basedb/meludi/servlet/BaseLineRegistrationServlet.java
r5756 r5832 1924 1924 String heGlassFBox = (String)jsonFfpeSection.get("heGlassFBox"); 1925 1925 String heGlassFPosition = (String)jsonFfpeSection.get("heGlassFPosition"); 1926 int pctTumourCellsF = Integer.parseInt((String)jsonFfpeSection.get("pctTumourCellsF"));1926 //int pctTumourCellsF = Integer.parseInt((String)jsonFfpeSection.get("pctTumourCellsF")); 1927 1927 1928 1928 String heGlassEBox = (String)jsonFfpeSection.get("heGlassEBox"); 1929 1929 String heGlassEPosition = (String)jsonFfpeSection.get("heGlassEPosition"); 1930 int pctTumourCellsE = Integer.parseInt((String)jsonFfpeSection.get("pctTumourCellsE"));1930 //int pctTumourCellsE = Integer.parseInt((String)jsonFfpeSection.get("pctTumourCellsE")); 1931 1931 1932 1932 // Find case name from FFPE block … … 1958 1958 1959 1959 BioMaterialEvent creationEvent = specimen.getCreationEvent(); 1960 /* 1960 1961 // Link the specimen with the case 1961 1962 if (theCase != null) 1962 1963 { 1963 1964 creationEvent.setSource(theCase.getSample()); 1965 } 1966 creationEvent.setEventDate(createDate); 1967 */ 1968 1969 // Link the specimen with the FFPE block 1970 if (ffpeBlock != null) 1971 { 1972 creationEvent.setSource(ffpeBlock.getSample()); 1964 1973 } 1965 1974 creationEvent.setEventDate(createDate); … … 2066 2075 dc.saveItem(stained); 2067 2076 2068 Annotationtype.TUMOUR_CELLS_PERCENT.setAnnotationValue(dc, stained, pctTumourCellsF);2077 //Annotationtype.TUMOUR_CELLS_PERCENT.setAnnotationValue(dc, stained, pctTumourCellsF); 2069 2078 // Get location for stain on glass plate 2070 2079 BioWell stainedFWell = heGlassF.getBioWell(0, 0); … … 2112 2121 dc.saveItem(stained); 2113 2122 2114 Annotationtype.TUMOUR_CELLS_PERCENT.setAnnotationValue(dc, stained, pctTumourCellsE);2123 //Annotationtype.TUMOUR_CELLS_PERCENT.setAnnotationValue(dc, stained, pctTumourCellsE); 2115 2124 // Get location for stain on glass plate 2116 2125 BioWell stainedEWell = heGlassE.getBioWell(0, 0);
Note: See TracChangeset
for help on using the changeset viewer.