use of ome.xml.model.Well in project bioformats by openmicroscopy.
the class BackReferenceTest method testPlateWellReferences.
@Test
public void testPlateWellReferences() {
metadata.setPlateID("Plate:0", 0);
metadata.setWellID("Well:0:0", 0, 0);
OME root = (OME) metadata.getRoot();
Plate plate = root.getPlate(0);
Well well = plate.getWell(0);
assertNotNull(plate);
assertNotNull(well);
assertEquals(plate, well.getPlate());
}
Aggregations