public int getDichroicAnnotationRefCount(int instrumentIndex, int dichroicIndex) { // Parents: {u'LightSource': {u'Instrument': {u'OME': None}}, u'Instrument': {u'OME': None}, u'Objective': {u'Instrument': {u'OME': None}}, u'Folder': {u'OME': None}, u'Detector': {u'Instrument': {u'OME': None}}, u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}, u'Plate': {u'OME': None}, u'ExperimenterGroup': {u'OME': None}, u'Screen': {u'OME': None}, u'Reagent': {u'Screen': {u'OME': None}}, u'Plane': {u'Pixels': {u'Image': {u'OME': None}}}, u'Experimenter': {u'OME': None}, u'Annotation': None, u'Dichroic': {u'Instrument': {u'OME': None}}, u'Well': {u'Plate': {u'OME': None}}, u'Filter': {u'Instrument': {u'OME': None}}, u'PlateAcquisition': {u'Plate': {u'OME': None}}, u'ROI': {u'OME': None}, u'Project': {u'OME': None}, u'LightPath': {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}}, u'Image': {u'OME': None}, u'Dataset': {u'OME': None}, u'Shape': {u'Union': {u'ROI': {u'OME': None}}}} // AnnotationRef is a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).sizeOfLinkedAnnotationList(); }
public int getDichroicAnnotationRefCount(int instrumentIndex, int dichroicIndex) { // Parents: {u'LightSource': {u'Instrument': {u'OME': None}}, u'Instrument': {u'OME': None}, u'Objective': {u'Instrument': {u'OME': None}}, u'Folder': {u'OME': None}, u'Detector': {u'Instrument': {u'OME': None}}, u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}, u'Plate': {u'OME': None}, u'ExperimenterGroup': {u'OME': None}, u'Screen': {u'OME': None}, u'Reagent': {u'Screen': {u'OME': None}}, u'Plane': {u'Pixels': {u'Image': {u'OME': None}}}, u'Experimenter': {u'OME': None}, u'Annotation': None, u'Dichroic': {u'Instrument': {u'OME': None}}, u'Well': {u'Plate': {u'OME': None}}, u'Filter': {u'Instrument': {u'OME': None}}, u'PlateAcquisition': {u'Plate': {u'OME': None}}, u'ROI': {u'OME': None}, u'Project': {u'OME': None}, u'LightPath': {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}}, u'Image': {u'OME': None}, u'Dataset': {u'OME': None}, u'Shape': {u'Union': {u'ROI': {u'OME': None}}}} // AnnotationRef is a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).sizeOfLinkedAnnotationList(); }
public String getDichroicLotNumber(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getLotNumber(); }
public String getDichroicLotNumber(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // LotNumber is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getLotNumber(); }
public String getDichroicManufacturer(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getManufacturer(); }
public String getDichroicModel(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getModel(); }
public String getDichroicID(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // ID is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getID(); }
public String getDichroicManufacturer(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // Manufacturer is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getManufacturer(); }
public String getDichroicID(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // ID is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getID(); }
public String getDichroicModel(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // Model is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getModel(); }
public String getDichroicSerialNumber(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // SerialNumber is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getSerialNumber(); }
public String getDichroicSerialNumber(int instrumentIndex, int dichroicIndex) { // Parents: {u'Instrument': {u'OME': None}} // SerialNumber is not a reference return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getSerialNumber(); }
public String getDichroicAnnotationRef(int instrumentIndex, int dichroicIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public String getDichroicAnnotationRef(int instrumentIndex, int dichroicIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once return root.getInstrument(instrumentIndex).getDichroic(dichroicIndex).getLinkedAnnotation(annotationRefIndex).getID(); }
public void setDichroicAnnotationRef(String annotation, int instrumentIndex, int dichroicIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once AnnotationRef annotationLinks_reference = new AnnotationRef(); annotationLinks_reference.setID(annotation); model.addReference( root.getInstrument(instrumentIndex).getDichroic(dichroicIndex), annotationLinks_reference); }
public void setDichroicAnnotationRef(String annotation, int instrumentIndex, int dichroicIndex, int annotationRefIndex) { // Parents: {u'Instrument': {u'OME': None}} // AnnotationRef is reference and occurs more than once AnnotationRef annotationLinks_reference = new AnnotationRef(); annotationLinks_reference.setID(annotation); model.addReference( root.getInstrument(instrumentIndex).getDichroic(dichroicIndex), annotationLinks_reference); }
@Test (groups = {"11-06-i-dichroic"}, dependsOnMethods = {"testInstrument0"}) public void testDichroic0() { Assert.assertNotNull(ome); dichroic0 = instrument0.getDichroic(0); Assert.assertNotNull(dichroic0); Assert.assertEquals(ref.Instrument0Dichroic0Manufacturer, dichroic0.getManufacturer()); Assert.assertEquals(ref.Instrument0Dichroic0Model, dichroic0.getModel()); Assert.assertNull(dichroic0.getLotNumber()); Assert.assertNull(dichroic0.getSerialNumber()); }
@Test(dependsOnMethods={"testValidInstrumentNode"}) public void testValidDichroicNode() { Dichroic dichroic = ome.getInstrument(0).getDichroic(0); assertNotNull(dichroic); assertEquals(DICHROIC_ID, dichroic.getID()); assertEquals(DICHROIC_SN, dichroic.getSerialNumber()); }
@Test(dependsOnMethods={"testValidDichroicNode"}) public void testValidDichroicAnnotation() { Annotation n = ome.getInstrument(0).getDichroic(0).getLinkedAnnotation(0); assertNotNull(n); assertEquals(DICHROIC_ANNOTATION_ID, n.getID()); assertEquals(n.getNamespace(), GENERAL_ANNOTATION_NAMESPACE); assertTrue(n instanceof CommentAnnotation); CommentAnnotation string = (CommentAnnotation) n; assertEquals(DICHROIC_ANNOTATION_VALUE, string.getValue()); }
@Test(dependsOnMethods={"testValidFilterSetNode"}) public void testValidEmissionFilterNode() { Filter emFilter = ome.getInstrument(0).getFilter(0); assertNotNull(emFilter); assertEquals(EM_FILTER_ID, emFilter.getID()); assertEquals(EM_FILTER_TYPE, emFilter.getType()); FilterSet filterSet = ome.getInstrument(0).getDichroic(0).getLinkedFilterSet(0); assertEquals(EM_FILTER_ID, filterSet.getLinkedEmissionFilter(0).getID()); }