private void parseCellObjects() { String rootObject = CellH5Constants.DEFINITION + CellH5Constants.OBJECT; List<String> allObjects = jhdf.getMember(rootObject); for (String objectName : allObjects) { String objectType = (String) jhdf.readCompoundArrayDataMap( rootObject + objectName)[0].get("type"); if (objectType.equals("region")) { cellObjectNames.add(objectName); LOGGER.debug("CellH5Reader: Found cell object {}", objectName); } } }
private void parseCellObjects() { String rootObject = CellH5Constants.DEFINITION + CellH5Constants.OBJECT; List<String> allObjects = jhdf.getMember(rootObject); for (String objectName : allObjects) { String objectType = (String) jhdf.readCompoundArrayDataMap( rootObject + objectName)[0].get("type"); if (objectType.equals("region")) { cellObjectNames.add(objectName); LOGGER.debug("CellH5Reader: Found cell object {}", objectName); } } }
@Test public void testMember() { List<String> member = service.getMember("/member_1/"); assertEquals(member.get(0), "member_3"); }
for (String plate : jhdf.getMember(path_to_plate)) { String path_to_well = path_to_plate + plate + CellH5Constants.WELL; LOGGER.info("Well :" + path_to_well ); for (String well : jhdf.getMember(path_to_well)) { String path_to_site = path_to_well + well + CellH5Constants.SITE; LOGGER.info("Site :" + path_to_site ); for (String site : jhdf.getMember(path_to_site)) { CellH5PositionList.add(new CellH5Coordinate(plate, well, site));
for (String plate : jhdf.getMember(path_to_plate)) { String path_to_well = path_to_plate + plate + CellH5Constants.WELL; LOGGER.info("Well :" + path_to_well ); for (String well : jhdf.getMember(path_to_well)) { String path_to_site = path_to_well + well + CellH5Constants.SITE; LOGGER.info("Site :" + path_to_site ); for (String site : jhdf.getMember(path_to_site)) { CellH5PositionList.add(new CellH5Coordinate(plate, well, site));