Ejemplo n.º 1
0
        public static Level1 ChangeItemMpileupInsertions(Level1 item, List <Level3> levelMpileupInsertions)
        {
            Level3 changeItem = CalculationMpileupInsertions.searchTs(levelMpileupInsertions);

            item.ColorDyName = "palegreen";
            for (int i = 0; i < item.ListPerson.Count; i++)
            {
                PersonLevel1 result = changeItem.ListPerson.First(s => s.Name.Equals(item.ListPerson[i].Name));
                if (result != null)
                {
                    if (result.Color.Genotype.Equals(ColorMutation.Blue.ToString()))
                    {
                        item.ListPerson[i].Genotype       = "0/1";
                        item.ListPerson[i].Color.Genotype = result.Color.Genotype;
                    }
                }
            }
            return(item);
        }
Ejemplo n.º 2
0
 // הוספת השינויים האותומטיים לכל אדם
 private void InsertCalculationForPerson()
 {
     var item = CalculationMpileupInsertions.searchTs(ListMpileupInsertions);
     CalculationMpileupInsertions c = new CalculationMpileupInsertions(item);
 }