Skip to content

Commit

Permalink
Hide unused parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
RuoshiZhang committed Feb 16, 2021
1 parent de1c05b commit 32b2c0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/commons/LocalParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ class LocalParameters : public Parameters {
createsetdbworkflow.push_back(&PARAM_EXTRACTORF_SPACER);
createsetdbworkflow = combineList(createsetdbworkflow, translatenucs);

predictmatchworkflow = combineList(searchworkflow, besthitbyset);
predictmatchworkflow = combineList(predictmatchworkflow, combinepvalbyset);
predictmatchworkflow = combineList(predictmatchworkflow, filtermatchbyfdr);
predictmatchworkflow = combineList(searchworkflow, filtermatchbyfdr);
predictmatchworkflow = combineList(predictmatchworkflow, summarizeresults);
predictmatchworkflow = combineList(predictmatchworkflow, findpam);
predictmatchworkflow.push_back(&PARAM_RESTRICT_RANKS_MODE);
Expand Down
1 change: 0 additions & 1 deletion src/workflow/PredictMatch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ int predictmatch(int argc, const char **argv, const Command& command) {
cmd.addVariable("SEARCH_PAR", par.createParameterString(par.searchworkflow).c_str());
cmd.addVariable("PROTALN2NUCL_PAR", par.createParameterString(par.proteinaln2nucl).c_str());
cmd.addVariable("BESTHITBYSET_PAR", par.createParameterString(par.besthitbyset).c_str());
cmd.addVariable("COMBINEPVALPERSET_PAR", par.createParameterString(par.combinepvalbyset).c_str());
cmd.addVariable("FILTERMATCHBYFDR_PAR", par.createParameterString(par.filtermatchbyfdr).c_str());
par.fdrCutoff = par.taxFdrCutoff;
cmd.addVariable("FILTERMATCHBYFDRTAX_PAR", par.createParameterString(par.filtermatchbyfdr).c_str());
Expand Down

0 comments on commit 32b2c0d

Please sign in to comment.