Changeset 5121
- Timestamp:
- Nov 21, 2018, 9:08:15 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.meludi/trunk/src/net/sf/basedb/meludi/servlet/BaseLineRegistrationServlet.java
r5119 r5121 506 506 // Store H&E glass box name as "Tray" parameter instead of as "Name" 507 507 heGlass.setTray(heGlass.getName()); 508 heGlass.setPosition(" 1");508 heGlass.setPosition("0"); 509 509 } 510 510 … … 1850 1850 nofSections = Integer.parseInt(nofSectionsString); 1851 1851 } 1852 /*1853 Integer viableTumourCellsPercent = null;1854 String viableTumourCellsPercentString = (String)jsonFfpeSection.get("viableTumourCellsPercent");1855 if (viableTumourCellsPercentString != null && !viableTumourCellsPercentString.equals(""))1856 {1857 viableTumourCellsPercent = Integer.parseInt(viableTumourCellsPercentString);1858 }1859 */1860 1852 String comment = (String)jsonFfpeSection.get("comment"); 1861 1853 //String operator = (String)jsonFfpeSection.get("operator"); … … 1865 1857 //Date samplingDate = Meludi.CONVERTER_STRING_TO_DATE.convert(samplingDateString); 1866 1858 //Date arrivalDate = Meludi.CONVERTER_STRING_TO_DATE.convert(arrivalDateString); 1867 1868 /*1869 String dnaBox = (String)jsonFfpeSection.get("dnaBox");1870 String dnaRow = (String)jsonFfpeSection.get("dnaRow");1871 int dnaColumn = Integer.parseInt((String)jsonFfpeSection.get("dnaColumn"));1872 1873 String rnaBox = (String)jsonFfpeSection.get("rnaBox");1874 String rnaRow = (String)jsonFfpeSection.get("rnaRow");1875 int rnaColumn = Integer.parseInt((String)jsonFfpeSection.get("rnaColumn"));1876 */1877 1859 1878 1860 String heGlassFBox = (String)jsonFfpeSection.get("heGlassFBox"); … … 1931 1913 Annotationtype.YELLOW_LABEL.setAnnotationValue(dc, specimen, yellowLabel); 1932 1914 Annotationtype.NOF_SECTIONS.setAnnotationValue(dc, specimen, nofSections); 1933 //Annotationtype.VIABLE_TUMOUR_CELLS_PERCENT.setAnnotationValue(dc, specimen, viableTumourCellsPercent);1934 1915 //if (samplingDate != null) Annotationtype.SAMPLING_DATE.setAnnotationValue(dc, specimen, samplingDate); 1935 1916 //if (arrivalDate != null) Annotationtype.ARRIVAL_DATE.setAnnotationValue(dc, specimen, arrivalDate); … … 2007 1988 2008 1989 BioPlateEventParticipant stainEventParticipant = stainEvent.addParticipant(heGlassF, "glass", stainNo); 2009 //numNewHEGlass++;2010 1990 2011 //heGlassF.setTray(storageBox);2012 1991 heGlassF.setTray(heGlassFBox); 2013 1992 heGlassF.setPosition(heGlassFPosition); … … 2020 1999 stained.setItemSubtype(Subtype.STAINED.load(dc)); 2021 2000 stained.setName(stainedName); // Safe, since this is a new stain 2022 //stained.setBioWell(heGlass.getBioWell(heCoordinate));2023 2001 stained.setDescription(histology.getDescription()); 2024 2002 dc.saveItem(stained); … … 2056 2034 2057 2035 stainEventParticipant = stainEvent.addParticipant(heGlassE, "glass", stainNo); 2058 //numNewHEGlass++;2059 2036 2060 //heGlassE.setTray(storageBox);2061 2037 heGlassE.setTray(heGlassEBox); 2062 2038 heGlassE.setPosition(heGlassEPosition); … … 2069 2045 stained.setItemSubtype(Subtype.STAINED.load(dc)); 2070 2046 stained.setName(stainedName); // Safe, since this is a new stain 2071 //stained.setBioWell(heGlass.getBioWell(heCoordinate));2072 2047 stained.setDescription(histology.getDescription()); 2073 2048 dc.saveItem(stained); … … 2086 2061 jsonMessages.add("HE stain '" + stained.getName() + "' created successfully."); 2087 2062 2088 /*2089 2063 // Update the FFPE block annotations 2090 2064 Annotationtype.USED_FOR_FFPE_SECTION.setAnnotationValue(dc, ffpeBlock.getSample(), Boolean.TRUE); 2091 */2092 2065 } 2093 2066 jsonMessages.add(numUpdatedFfpeSections + " Specimen(s) updated.");
Note: See TracChangeset
for help on using the changeset viewer.