コード例 #1
0
        static public Dictionary <string, string> CreateABMixedToZero6SupertypeTable(string fileName, bool checkABMixed)
        {
            Dictionary <string, string> aBMixedToZero6SupertypeTable = new Dictionary <string, string>();

            foreach (Dictionary <string, string> row in Predictor.TabFileTableAsList(fileName, "hla	supertype", false))
            {
                string abMixedHlaToLengthString = row["hla"];
                SpecialFunctions.CheckCondition(!checkABMixed || HlaResolution.ABMixedHlaPatternIsOK(abMixedHlaToLengthString));
                if (row["supertype"] != "")
                {
                    aBMixedToZero6SupertypeTable.Add(abMixedHlaToLengthString, row["supertype"]);
                }
            }
            return(aBMixedToZero6SupertypeTable);
        }