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 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 getFilterSetDichroicRef(int instrumentIndex, int filterSetIndex) { // Parents: {u'Instrument': {u'OME': None}} // DichroicRef is reference and occurs only once return root.getInstrument(instrumentIndex).getFilterSet(filterSetIndex).getLinkedDichroic().getID(); }
public String getFilterSetDichroicRef(int instrumentIndex, int filterSetIndex) { // Parents: {u'Instrument': {u'OME': None}} // DichroicRef is reference and occurs only once return root.getInstrument(instrumentIndex).getFilterSet(filterSetIndex).getLinkedDichroic().getID(); }
public String getLightPathDichroicRef(int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // DichroicRef is reference and occurs only once return root.getImage(imageIndex).getPixels().getChannel(channelIndex).getLightPath().getLinkedDichroic().getID(); }
public String getLightPathDichroicRef(int imageIndex, int channelIndex) { // Parents: {u'Channel': {u'Pixels': {u'Image': {u'OME': None}}}} // DichroicRef is reference and occurs only once return root.getImage(imageIndex).getPixels().getChannel(channelIndex).getLightPath().getLinkedDichroic().getID(); }
o.setID(dichroic.getID()); Element child = document.createElementNS(NAMESPACE, "DichroicRef");
o.setID(dichroic.getID()); FilterSet_element.appendChild(o.asXMLElement(document));
o.setID(dichroic.getID()); Element child = document.createElementNS(NAMESPACE, "DichroicRef");
o.setID(dichroic.getID()); LightPath_element.appendChild(o.asXMLElement(document));
@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 testValidFilterSetNode() { Dichroic dichroic = ome.getInstrument(0).getDichroic(0); assertEquals(1, dichroic.sizeOfLinkedFilterSetList()); FilterSet filterSet = dichroic.getLinkedFilterSet(0); assertNotNull(filterSet); assertEquals(FILTERSET_ID, filterSet.getID()); assertEquals(FILTERSET_LOT, filterSet.getLotNumber()); assertEquals(filterSet.getLinkedDichroic().getID(), dichroic.getID()); }