Skip to content

Commit

Permalink
Major fix: when inferring DTL scenario, do not try to read per family…
Browse files Browse the repository at this point in the history
… rates from file when --per-family-rates is not set
  • Loading branch information
BenoitMorel committed Jun 8, 2020
1 parent 800b5e8 commit 879b2a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/GeneRax/GeneRaxInstance.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ void GeneRaxInstance::readModelParameters(ModelParameters &modelParameters)
recModel,
args.perFamilyDTLRates,
currentFamilies.size());
if (!args.perFamilyDTLRates) {
return;
}
auto freeParameters = Enums::freeParameters(recModel);
Parameters ratesToRead(rates);
auto resultsPath = FileSystem::joinPaths(args.output, "results");
Expand Down

0 comments on commit 879b2a2

Please sign in to comment.