public info(flowcell_layout flowcell) : this(c_csharp_runPINVOKE.new_info__SWIG_12(flowcell_layout.getCPtr(flowcell)), true) { if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } }
public info(flowcell_layout flowcell, read_info_vector reads) : this(c_csharp_runPINVOKE.new_info__SWIG_11(flowcell_layout.getCPtr(flowcell), read_info_vector.getCPtr(reads)), true) { if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } }
public void flowcell(flowcell_layout flowcell) { c_csharp_runPINVOKE.info_flowcell__SWIG_1(swigCPtr, flowcell_layout.getCPtr(flowcell)); if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } }
protected override void SetUp() { string xml_file = "<?xml version=\"1.0\"?>\n" + "<RunInfo xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" Version=\"2\">\n" + " <Run Id=\"120705_M00903_0009_A000000000-A12V4\" Number=\"8\">\n" + " <Flowcell>000000000-A12V4</Flowcell>\n" + " <Instrument>M00903</Instrument>\n" + " <Date>120705</Date>\n" + " <Reads>\n" + " <Read NumCycles=\"251\" Number=\"1\" IsIndexedRead=\"N\" />\n" + " <Read NumCycles=\"12\" Number=\"2\" IsIndexedRead=\"Y\" />\n" + " <Read NumCycles=\"251\" Number=\"3\" IsIndexedRead=\"N\" />\n" + " </Reads>\n" + " <FlowcellLayout LaneCount=\"1\" SurfaceCount=\"2\" SwathCount=\"1\" TileCount=\"14\" />\n" + " </Run>\n" + "</RunInfo>"; string_vector Tiles = new string_vector(); string_vector ImageChannels = new string_vector(); read_info[] ReadsArr = new read_info[] { /*Number, IsIndexedRead, CycleStart, CycleEnd*/ new read_info(1, 1, 251, false), new read_info(2, 252, 263, true), new read_info(3, 264, 514, false) }; read_info_vector Reads = new read_info_vector(); for (int i = 0; i < ReadsArr.Length; i++) { Reads.Add(ReadsArr[i]); } tile_naming_method TileNamingConvention = tile_naming_method.UnknownTileNamingMethod; uint LaneCount = 1; uint SurfaceCount = 2; uint SwathCount = 1; uint TileCount = 14; uint SectionPerLane = 1; uint LanePerSection = 1; flowcell_layout FlowcellLayout = new flowcell_layout( LaneCount, SurfaceCount, SwathCount, TileCount, SectionPerLane, LanePerSection, Tiles, TileNamingConvention); string Run_Id = "120705_M00903_0009_A000000000-A12V4"; string Date = "120705"; string InstrumentName = "M00903"; uint RunNumber = 8; uint version = 2; image_dimensions ImageDimensions = new image_dimensions(/*Width*/ 0, /*Height*/ 0); expected_run_info = new info(Run_Id, Date, InstrumentName, RunNumber, version, FlowcellLayout, ImageChannels, ImageDimensions, Reads); run_info.parse(xml_file); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(flowcell_layout obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public info(string name, string date, string instrument_name, uint run_number, uint version, flowcell_layout flowcell) : this(c_csharp_runPINVOKE.new_info__SWIG_3(name, date, instrument_name, run_number, version, flowcell_layout.getCPtr(flowcell)), true) { if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } }
public info(string name, string date, string instrument_name, uint run_number, uint version, flowcell_layout flowcell, string_vector channels, image_dimensions image_dim) : this(c_csharp_runPINVOKE.new_info__SWIG_1(name, date, instrument_name, run_number, version, flowcell_layout.getCPtr(flowcell), string_vector.getCPtr(channels), image_dimensions.getCPtr(image_dim)), true) { if (c_csharp_runPINVOKE.SWIGPendingException.Pending) { throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve(); } }
public flowcell_layout flowcell() { flowcell_layout ret = new flowcell_layout(c_csharp_runPINVOKE.info_flowcell__SWIG_0(swigCPtr), false); return(ret); }