Package ome.xml.model

Examples of ome.xml.model.Well


      if (plate == null) {
        plate = new Plate();
        plate.setName(d.plate);
        ome.addPlate(plate);
      }
      Well well = null;
      int row = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".indexOf(d.well.substring(0, 1).toUpperCase());
      int col = Integer.valueOf(d.well.substring(1));
      for (int i=0; i<plate.sizeOfWellList(); i++) {
        final Well qWell = plate.getWell(i);
        if ((qWell.getRow().equals(row)) && (qWell.getColumn().equals(col))) {
          well = qWell;
          break;
        }
      }
      if (well == null) {
        well = new Well();
        well.setRow(new NonNegativeInteger(row));
        well.setColumn(new NonNegativeInteger(col));
        well.setExternalDescription(d.well);
        plate.addWell(well);
      }
View Full Code Here


      putIfNotNull(map, MD_SIZE_T, pixels.getSizeT());
      putIfNotNull(map, MD_SIZE_Z, pixels.getSizeZ());
      if (image.sizeOfLinkedWellSampleList() == 1) {
        final WellSample wellSample = image.getLinkedWellSample(0);
        putIfNotNull(map, MD_SITE, wellSample.getIndex());
        final Well well = wellSample.getWell();
        if (well != null) {
          map.put(MD_WELL, getWellName(well.getRow().getValue(), well.getColumn().getValue()));
          Plate plate = well.getPlate();
          if (plate != null) {
            map.put(MD_PLATE, well.getPlate().getName());
          }
        }
      }
    } else {
      map.put(MD_SIZE_C, StringCache.intern("1"));
View Full Code Here

TOP

Related Classes of ome.xml.model.Well

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.