Skip to content

Commit

Permalink
Always set a value for FILTER_RESULT in exhaustive search
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Apr 16, 2021
1 parent ec1f599 commit d4a3354
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/workflow/Search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,7 @@ int search(int argc, const char **argv, const Command& command) {
cmd.addVariable("SWAPRES_PAR", par.createParameterString(par.swapresult).c_str());
par.evalThr = originalEvalThr;
cmd.addVariable("FILTER_PAR", par.createParameterString(par.filterresult).c_str());
if(par.exhaustiveFilterMsa == 1){
cmd.addVariable("FILTER_RESULT", "1");
}
cmd.addVariable("FILTER_RESULT", par.exhaustiveFilterMsa == 1 ? "1" : "0");
if (isUngappedMode) {
par.rescoreMode = Parameters::RESCORE_MODE_ALIGNMENT;
cmd.addVariable("ALIGNMENT_PAR", par.createParameterString(par.rescorediagonal).c_str());
Expand Down

0 comments on commit d4a3354

Please sign in to comment.