public String getExperimenterGroupAnnotationRef(int experimenterGroupIndex, int annotationRefIndex) { // Parents: {u'OME': None} // AnnotationRef is reference and occurs more than once return root.getExperimenterGroup(experimenterGroupIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getImageAnnotationRef(int imageIndex, int annotationRefIndex) { // Parents: {u'OME': None} // AnnotationRef is reference and occurs more than once return root.getImage(imageIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getScreenAnnotationRef(int screenIndex, int annotationRefIndex) { // Parents: {u'OME': None} // AnnotationRef is reference and occurs more than once return root.getScreen(screenIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getDatasetAnnotationRef(int datasetIndex, int annotationRefIndex) { // Parents: {u'OME': None} // AnnotationRef is reference and occurs more than once return root.getDataset(datasetIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getDatasetAnnotationRef(int datasetIndex, int annotationRefIndex) { // Parents: {u'OME': None} // AnnotationRef is reference and occurs more than once return root.getDataset(datasetIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getObjectiveAnnotationRef(int instrumentIndex, int objectiveIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getInstrument(instrumentIndex).getObjective(objectiveIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getTermAnnotationAnnotationRef(int termAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getStructuredAnnotations().getTermAnnotation(termAnnotationIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getFilamentAnnotationRef(int instrumentIndex, int lightSourceIndex, int annotationRefIndex) { // Parents: None // AnnotationRef is reference and occurs more than once return ((Filament)root.getInstrument(instrumentIndex).getLightSource(lightSourceIndex)).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getFilterAnnotationRef(int instrumentIndex, int filterIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getInstrument(instrumentIndex).getFilter(filterIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getTermAnnotationAnnotationRef(int termAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getStructuredAnnotations().getTermAnnotation(termAnnotationIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getWellAnnotationRef(int plateIndex, int wellIndex, int annotationRefIndex) { // Parents: {u'Plate': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getPlate(plateIndex).getWell(wellIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getXMLAnnotationAnnotationRef(int XMLAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getStructuredAnnotations().getXMLAnnotation(XMLAnnotationIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getBooleanAnnotationAnnotationRef(int booleanAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getStructuredAnnotations().getBooleanAnnotation(booleanAnnotationIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getMapAnnotationAnnotationRef(int mapAnnotationIndex, int annotationRefIndex) { // Parents: {u'StructuredAnnotations': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getStructuredAnnotations().getMapAnnotation(mapAnnotationIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getChannelAnnotationRef(int imageIndex, int channelIndex, int annotationRefIndex) { // Parents: {u'Pixels': {u'Image': {u'OME': None}}} // AnnotationRef is reference and occurs more than once return root.getImage(imageIndex).getPixels().getChannel(channelIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getMaskAnnotationRef(int ROIIndex, int shapeIndex, int annotationRefIndex) { // Parents: None // AnnotationRef is reference and occurs more than once return ((Mask)root.getROI(ROIIndex).getUnion().getShape(shapeIndex)).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getLightPathAnnotationRef(int imageIndex, int channelIndex, int annotationRefIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // AnnotationRef is reference and occurs more than once return root.getImage(imageIndex).getPixels().getChannel(channelIndex).getLightPath().getLinkedAnnotation(annotationRefIndex).getID(); }
@Test(dependsOnMethods={"testValidInstrumentNode"}) public void testValidInstrumentAnnotation() { Annotation n = ome.getInstrument(0).getLinkedAnnotation(0); assertNotNull(n); assertEquals(INSTRUMENT_ANNOTATION_ID, n.getID()); assertEquals(n.getNamespace(), GENERAL_ANNOTATION_NAMESPACE); assertTrue(n instanceof CommentAnnotation); CommentAnnotation string = (CommentAnnotation) n; assertEquals(INSTRUMENT_ANNOTATION_VALUE, string.getValue()); }
@Test(dependsOnMethods={"testValidDetectorNode"}) public void testValidDetectorAnnotation() { Annotation n = ome.getInstrument(0).getDetector(0).getLinkedAnnotation(0); assertNotNull(n); assertEquals(DETECTOR_ANNOTATION_ID, n.getID()); assertEquals(n.getNamespace(), GENERAL_ANNOTATION_NAMESPACE); assertTrue(n instanceof CommentAnnotation); CommentAnnotation string = (CommentAnnotation) n; assertEquals(DETECTOR_ANNOTATION_VALUE, string.getValue()); }
@Test(dependsOnMethods={"testValidLaserMetadata"},enabled=false) public void testValidLaserAnnotation() { Annotation n = ome.getInstrument(0).getLightSource(0).getLinkedAnnotation(0); assertNotNull(n); assertEquals(LIGHTSOURCE_LASER_ANNOTATION_ID, n.getID()); assertEquals(n.getNamespace(), GENERAL_ANNOTATION_NAMESPACE); assertTrue(n instanceof CommentAnnotation); CommentAnnotation string = (CommentAnnotation) n; assertEquals(LIGHTSOURCE_LASER_ANNOTATION_VALUE, string.getValue()); }