public void setPlateColumnNamingConvention(NamingConvention columnNamingConvention, int plateIndex) { // Parents: {u'OME': None} // ColumnNamingConvention is not a reference OME o0 = root; if (o0.sizeOfPlateList() == plateIndex) { o0.addPlate(new Plate()); } Plate o1 = o0.getPlate(plateIndex); o1.setColumnNamingConvention(columnNamingConvention); }
public void setPlateColumnNamingConvention(NamingConvention columnNamingConvention, int plateIndex) { // Parents: {u'OME': None} // ColumnNamingConvention is not a reference OME o0 = root; if (o0.sizeOfPlateList() == plateIndex) { o0.addPlate(new Plate()); } Plate o1 = o0.getPlate(plateIndex); o1.setColumnNamingConvention(columnNamingConvention); }
setColumnNamingConvention(NamingConvention.fromString( element.getAttribute("ColumnNamingConvention")));
setColumnNamingConvention(NamingConvention.fromString( element.getAttribute("ColumnNamingConvention")));
plate.setColumns(new PositiveInteger(columns)); plate.setRowNamingConvention(ROW_NAMING_CONVENTION); plate.setColumnNamingConvention(COLUMN_NAMING_CONVENTION); plate.setWellOriginX(new Length(0.0, UNITS.MICROMETER)); plate.setWellOriginY(new Length(1.0, UNITS.MICROMETER));
private Plate makePlate() { Plate plate = new Plate(); plate.setName(PLATE_NAME); plate.setID(PLATE_ID); plate.setRows(WELL_ROWS); plate.setColumns(WELL_COLS); plate.setRowNamingConvention(WELL_ROW); plate.setColumnNamingConvention(WELL_COL); int wellSampleIndex = 0; for (int row=0; row<WELL_ROWS.getValue(); row++) { for (int col=0; col<WELL_COLS.getValue(); col++) { Well well = new Well(); well.setID(String.format("Well:%d_%d", row, col)); well.setRow(new NonNegativeInteger(row)); well.setColumn(new NonNegativeInteger(col)); WellSample sample = new WellSample(); sample.setID(String.format("WellSample:%d_%d", row, col)); sample.setIndex(new NonNegativeInteger(wellSampleIndex)); sample.linkImage(ome.getImage(wellSampleIndex)); well.addWellSample(sample); plate.addWell(well); wellSampleIndex++; } } return plate; }
plate.setColumns(InOutCurrentTest.WELL_COLS); plate.setRowNamingConvention(InOutCurrentTest.WELL_ROW); plate.setColumnNamingConvention(InOutCurrentTest.WELL_COL);