Mentions légales du service

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

fix position computation for switch

parent c091a1c5
No related branches found
No related tags found
No related merge requests found
...@@ -227,7 +227,11 @@ Mutation* Dna_7::do_switch(size_type pos ...@@ -227,7 +227,11 @@ Mutation* Dna_7::do_switch(size_type pos
#endif #endif
// Remove promoters containing the switched base // Remove promoters containing the switched base
ann_chrsm_->promoter_list().remove_promoters_around(pos, Utils::mod(pos + 1, length_), length_); #ifdef __EUKARYOTE
ann_chrsm_->promoter_list().remove_promoters_around(pos, pos + 1);
#else
ann_chrsm_->promoter_list().remove_promoters_around(pos, Utils::mod(pos + 1, length_), length_);
#endif
// Look for potential new promoters containing the switched base // Look for potential new promoters containing the switched base
if (length() >= PROM_SIZE) if (length() >= PROM_SIZE)
......
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