Ejemplo n.º 1
0
 public metric_type_description(metric_type val, string description) : this(c_csharp_metricsPINVOKE.new_metric_type_description__SWIG_1((int)val, description), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public metric_type_name_pair(metric_type t, string u) : this(c_csharp_metricsPINVOKE.new_metric_type_name_pair__SWIG_1((int)t, u), true)
 {
     if (c_csharp_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 3
0
 public static void plot_subtile_aggregate(run_metrics metrics, metric_type type, filter_options options, candle_stick_plot_data data_x, candle_stick_plot_data data_y)
 {
     c_csharp_plotPINVOKE.plot_subtile_aggregate__SWIG_0(run_metrics.getCPtr(metrics), (int)type, filter_options.getCPtr(options), candle_stick_plot_data.getCPtr(data_x), candle_stick_plot_data.getCPtr(data_y));
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
 public static void plot_subtile_map(run_metrics metrics, metric_type type, filter_options options, subtile_data data)
 {
     c_csharp_plotPINVOKE.plot_subtile_map__SWIG_2(run_metrics.getCPtr(metrics), (int)type, filter_options.getCPtr(options), subtile_data.getCPtr(data));
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 5
0
 public static void list_metrics_to_load(metric_type type, uchar_vector valid_to_load, instrument_type instrument, bool is_iuo)
 {
     c_csharp_run_metricsPINVOKE.list_metrics_to_load__SWIG_1((int)type, uchar_vector.getCPtr(valid_to_load), (int)instrument, is_iuo);
     if (c_csharp_run_metricsPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_run_metricsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 6
0
 public void validate(metric_type type, info run_info, bool check_ignored)
 {
     c_csharp_plotPINVOKE.filter_options_validate__SWIG_0(swigCPtr, (int)type, info.getCPtr(run_info), check_ignored);
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 7
0
 public static void plot_by_lane(run_metrics metrics, metric_type type, filter_options options, candle_stick_plot_data data)
 {
     c_csharp_plotPINVOKE.plot_by_lane__SWIG_1(run_metrics.getCPtr(metrics), (int)type, filter_options.getCPtr(options), candle_stick_plot_data.getCPtr(data));
     if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
     {
         throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 8
0
        public static uint calculate_subtile_buffer_size(run_metrics metrics, metric_type type, filter_options options)
        {
            uint ret = c_csharp_plotPINVOKE.calculate_subtile_buffer_size(run_metrics.getCPtr(metrics), (int)type, filter_options.getCPtr(options));

            if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 9
0
        public static metric_type parse_metric_type(string name)
        {
            metric_type ret = (metric_type)c_csharp_runPINVOKE.parse_metric_type(name);

            if (c_csharp_runPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_runPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 10
0
        public bool supports_surface(metric_type metric_type, info info)
        {
            bool ret = c_csharp_plotPINVOKE.filter_options_supports_surface(swigCPtr, (int)metric_type, info.getCPtr(info));

            if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
            {
                throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Ejemplo n.º 11
0
 public static void plot_subtile_map(run_metrics metrics, metric_type type, filter_options options, subtile_data data, float[] buffer)
 {
     unsafe
     {
         fixed(float *swig_ptrTo_buffer = buffer)
         {
             {
                 c_csharp_plotPINVOKE.plot_subtile_map__SWIG_1(run_metrics.getCPtr(metrics), (int)type, filter_options.getCPtr(options), subtile_data.getCPtr(data), (global::System.IntPtr)swig_ptrTo_buffer);
                 if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
                 {
                     throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
                 }
             }
         }
     }
 }
Ejemplo n.º 12
0
 public static void plot_flowcell_map(run_metrics metrics, metric_type type, filter_options options, flowcell_data data, float[] buffer, uint[] tile_buffer, bool skip_empty)
 {
     unsafe
     {
         fixed(float *swig_ptrTo_buffer = buffer)
         {
             unsafe
             {
                 fixed(uint *swig_ptrTo_tile_buffer = tile_buffer)
                 {
                     {
                         c_csharp_plotPINVOKE.plot_flowcell_map__SWIG_0(run_metrics.getCPtr(metrics), (int)type, filter_options.getCPtr(options), flowcell_data.getCPtr(data), (global::System.IntPtr)swig_ptrTo_buffer, (global::System.IntPtr)swig_ptrTo_tile_buffer, skip_empty);
                         if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
                         {
                             throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
                         }
                     }
                 }
             }
         }
     }
 }
Ejemplo n.º 13
0
 public static void plot_flowcell_map2(run_metrics metrics, metric_type type, filter_options options, flowcell_data data, float[] buffer, uint buffer_size, uint[] id_buffer, uint id_buffer_size)
 {
     unsafe
     {
         fixed(float *swig_ptrTo_buffer = buffer)
         {
             unsafe
             {
                 fixed(uint *swig_ptrTo_id_buffer = id_buffer)
                 {
                     {
                         c_csharp_plotPINVOKE.plot_flowcell_map2__SWIG_1(run_metrics.getCPtr(metrics), (int)type, filter_options.getCPtr(options), flowcell_data.getCPtr(data), (global::System.IntPtr)swig_ptrTo_buffer, buffer_size, (global::System.IntPtr)swig_ptrTo_id_buffer, id_buffer_size);
                         if (c_csharp_plotPINVOKE.SWIGPendingException.Pending)
                         {
                             throw c_csharp_plotPINVOKE.SWIGPendingException.Retrieve();
                         }
                     }
                 }
             }
         }
     }
 }
Ejemplo n.º 14
0
        public void TestToFeatureForMetricType()
        {
            metric_type metricType = metric_type.Intensity;

            Assert.AreEqual((int)c_csharp_run_metrics.to_feature(metricType), 18);
        }
Ejemplo n.º 15
0
        public bool supports_read(metric_type metric_type, plot_types plot_type)
        {
            bool ret = c_csharp_plotPINVOKE.filter_options_supports_read(swigCPtr, (int)metric_type, (int)plot_type);

            return(ret);
        }
Ejemplo n.º 16
0
        public bool supports_channel(metric_type metric_type)
        {
            bool ret = c_csharp_plotPINVOKE.filter_options_supports_channel(swigCPtr, (int)metric_type);

            return(ret);
        }
Ejemplo n.º 17
0
        public bool is_specific_read(metric_type type)
        {
            bool ret = c_csharp_plotPINVOKE.filter_options_is_specific_read__SWIG_0(swigCPtr, (int)type);

            return(ret);
        }
Ejemplo n.º 18
0
        public bool all_bases(metric_type type)
        {
            bool ret = c_csharp_plotPINVOKE.filter_options_all_bases__SWIG_0(swigCPtr, (int)type);

            return(ret);
        }
Ejemplo n.º 19
0
        public static bool is_iuo_metric(metric_type type)
        {
            bool ret = c_csharp_run_metricsPINVOKE.is_iuo_metric((int)type);

            return(ret);
        }
Ejemplo n.º 20
0
        public static metric_feature_type to_feature(metric_type type)
        {
            metric_feature_type ret = (metric_feature_type)c_csharp_run_metricsPINVOKE.to_feature__SWIG_0((int)type);

            return(ret);
        }
Ejemplo n.º 21
0
        public static string to_description(metric_type type)
        {
            string ret = c_csharp_run_metricsPINVOKE.to_description((int)type);

            return(ret);
        }
Ejemplo n.º 22
0
        public static metric_group to_group(metric_type type)
        {
            metric_group ret = (metric_group)c_csharp_run_metricsPINVOKE.to_group((int)type);

            return(ret);
        }
Ejemplo n.º 23
0
        public static string to_string(metric_type value)
        {
            string ret = c_csharp_runPINVOKE.to_string__SWIG_1((int)value);

            return(ret);
        }
Ejemplo n.º 24
0
        public void IsBaseMetric()
        {
            metric_type metricType = metric_type.BasePercent;

            Assert.IsTrue(c_csharp_run_metrics.is_base_metric(metricType));
        }
Ejemplo n.º 25
0
        public metric_type value()
        {
            metric_type ret = (metric_type)c_csharp_metricsPINVOKE.metric_type_description_value(swigCPtr);

            return(ret);
        }