Skip to content

Commit

Permalink
Try to fix issue with scoring matrix name init
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jan 8, 2025
1 parent e4524f0 commit 3b76601
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commons/LocalParameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ LocalParameters::LocalParameters() :
PARAM_ALPH_SIZE.category = MMseqsParameter::COMMAND_HIDDEN;
PARAM_INCLUDE_IDENTITY.category = MMseqsParameter::COMMAND_HIDDEN;

scoringMatrixFile = "3di.out";
seedScoringMatrixFile = "3di.out";
scoringMatrixFile = MultiParam<NuclAA<std::string>>(NuclAA<std::string>("3di.out", "3di.out"));
seedScoringMatrixFile = MultiParam<NuclAA<std::string>>(NuclAA<std::string>("3di.out", "3di.out"));
substitutionMatrices.emplace_back("3di.out", mat3di_out, mat3di_out_len);

// structurecreatedb
Expand Down Expand Up @@ -406,7 +406,7 @@ std::vector<int> LocalParameters::getOutputFormat(int formatMode, const std::str
return formatCodes;
}

LocalParameters& instance = LocalParameters::getLocalInstance();

std::vector<int> FoldSeekDbValidator::tmscore = {LocalParameters::DBTYPE_TMSCORE};
std::vector<int> FoldSeekDbValidator::cadb = {LocalParameters::DBTYPE_CA_ALPHA};
std::vector<int> FoldSeekDbValidator::flatfileStdinAndFolder = {LocalParameters::DBTYPE_FLATFILE, LocalParameters::DBTYPE_STDIN,LocalParameters::DBTYPE_DIRECTORY};
Expand Down

0 comments on commit 3b76601

Please sign in to comment.