CanvasCommon.CopyNumberOracle.LoadKnownCN C# (CSharp) Method

LoadKnownCN() public method

public LoadKnownCN ( string oraclePath ) : void
oraclePath string
return void
        public void LoadKnownCN(string oraclePath)
        {
            if (!File.Exists(oraclePath))
            {
                throw new ArgumentException(string.Format("* Error: Truth vcf not found at '{0}'", oraclePath));
            }

            if (oraclePath.EndsWith(".bed"))
            {
                LoadKnownCNBed(oraclePath);
                return;
            }
            LoadKnownCNVCF(oraclePath);
        }