public String getPlateID(int plateIndex) { // Parents: {u'OME': None} // ID is not a reference return root.getPlate(plateIndex).getID(); }
public String getPlateID(int plateIndex) { // Parents: {u'OME': None} // ID is not a reference return root.getPlate(plateIndex).getID(); }
public String getScreenPlateRef(int screenIndex, int plateRefIndex) { // Parents: {u'OME': None} // PlateRef is reference and occurs more than once return root.getScreen(screenIndex).getLinkedPlate(plateRefIndex).getID(); }
public String getScreenPlateRef(int screenIndex, int plateRefIndex) { // Parents: {u'OME': None} // PlateRef is reference and occurs more than once return root.getScreen(screenIndex).getLinkedPlate(plateRefIndex).getID(); }
o.setID(plateLinks_value.getID()); Screen_element.appendChild(o.asXMLElement(document));
o.setID(plateLinks_value.getID()); Element child = document.createElementNS(NAMESPACE, "PlateRef");
@Test(dependsOnMethods={"testValidOMENode"}) public void testValidPlateNode() { Plate plate = ome.getPlate(0); assertNotNull(plate); assertEquals(PLATE_ID, plate.getID()); assertEquals(plate.getRows(), WELL_ROWS); assertEquals(plate.getColumns(), WELL_COLS); assertEquals(plate.getRowNamingConvention(), WELL_ROW); assertEquals(plate.getColumnNamingConvention(), WELL_COL); assertEquals(plate.sizeOfWellList(), WELL_ROWS.getValue() * WELL_COLS.getValue()); for (Integer row=0; row<WELL_ROWS.getValue(); row++) { for (Integer col=0; col<WELL_COLS.getValue(); col++) { Well well = plate.getWell(row * WELL_COLS.getValue() + col); assertNotNull(well); assertEquals(String.format("Well:%d_%d", row, col), well.getID()); assertEquals(well.getRow(), row); assertEquals(well.getColumn(), col); } } }