Mentions légales du service

Skip to content
Snippets Groups Projects
Commit bcae94fe authored by LUISELLI Juliette's avatar LUISELLI Juliette
Browse files

Record mutations from chromosome B too

parent 577556c6
Branches
Tags
No related merge requests found
...@@ -591,6 +591,13 @@ void ExpManager_7::apply_mutations(int indiv_id) { ...@@ -591,6 +591,13 @@ void ExpManager_7::apply_mutations(int indiv_id) {
#ifdef __EUKARYOTE #ifdef __EUKARYOTE
auto undergone_mutations2 = auto undergone_mutations2 =
current_individuals[indiv_id]->annotated_chromosome_[B]->dna_->apply_mutations(dna_mutator_array_B[indiv_id]->mutation_list_); current_individuals[indiv_id]->annotated_chromosome_[B]->dna_->apply_mutations(dna_mutator_array_B[indiv_id]->mutation_list_);
for (const auto& mut : undergone_mutations2) {
if (exp_manager->record_tree()) {
exp_manager->tree()->report_by_index(AeTime::time(), indiv_id)->dna_replic_report().add_mut(mut);
}
delete mut;
}
#endif #endif
#ifdef WITH_PERF_TRACES_PER_INDIV #ifdef WITH_PERF_TRACES_PER_INDIV
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment