Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 72d1370b authored by David Parsons's avatar David Parsons
Browse files

Don't display the blue phenotypes (only the best one)

parent 26bba4fd
No related branches found
No related tags found
No related merge requests found
......@@ -780,15 +780,15 @@ void ExpManager_X11::refresh_window(int8_t win_number) {
}
// Display all the phenotypes (blue)
for (const auto& indiv: get_indivs())
{
display(cur_win, *(indiv->get_phenotype()), BLUE);
if (indiv->get_allow_plasmids())
{
display(cur_win, *(indiv->get_genetic_unit(0).get_phenotypic_contribution()), YELLOW);
display(cur_win, *(indiv->get_genetic_unit(1).get_phenotypic_contribution()), GREEN);
}
}
// for (const auto& indiv: get_indivs())
// {
// display(cur_win, *(indiv->get_phenotype()), BLUE);
// if (indiv->get_allow_plasmids())
// {
// display(cur_win, *(indiv->get_genetic_unit(0).get_phenotypic_contribution()), YELLOW);
// display(cur_win, *(indiv->get_genetic_unit(1).get_phenotypic_contribution()), GREEN);
// }
// }
// Display best indiv's phenotype (white)
display(cur_win, *(get_best_indiv()->get_phenotype()), WHITE, true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment