/// <summary> /// When the LEFT Self-Dimer button is pressed, the test is called and the display /// is updated accordingly. /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SelfDimerLeftButton_Click(object sender, RoutedEventArgs e) { alignmentTests at = new alignmentTests(_leftPrimer); double worstCase = at.selfDimerRun(); //Console.WriteLine(worstCase); if (worstCase < _rightGibbsFree) { leftSelfDimerResult.Content = "x"; } else { leftSelfDimerResult.Content = "a"; } }
/// <summary> /// When the RIGHT Self-Dimer button is pressed, the test is called and the display /// is updated accordingly. /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void SelfDimerRightButton_Click(object sender, RoutedEventArgs e) { alignmentTests at = new alignmentTests(_rightPrimer); double worstCase = at.selfDimerRun(); if (worstCase < _rightGibbsFree) { rightSelfDimerResult.Content = "x"; } else rightSelfDimerResult.Content = "a"; }