We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2085c2d commit 3b4d3f7Copy full SHA for 3b4d3f7
model/model.cpp
@@ -62,7 +62,15 @@ cmaple::Model::Model( cmaple::PositionType ref_genome_size,
62
// Init model from the corresponding seqtype and sub_model
63
switch (n_seqtype) {
64
case cmaple::SeqRegion::SEQ_PROTEIN: {
65
- model_base = new ModelAA(n_sub_model);
+ if (rate_variation)
66
+ {
67
+ throw std::invalid_argument("Sorry! We don't support rate variation "
68
+ "for protein models yet. Please rerun without rate variation models.");
69
+ }
70
+ else
71
72
+ model_base = new ModelAA(n_sub_model);
73
74
break;
75
}
76
case cmaple::SeqRegion::SEQ_DNA: {
0 commit comments