Skip to content

remove .cif/.pdb in filenames & remove _MODEL_ # in .lookup#261

Merged
milot-mirdita merged 3 commits into
steineggerlab:masterfrom
sooyoung-cha:master
May 7, 2024
Merged

remove .cif/.pdb in filenames & remove _MODEL_ # in .lookup#261
milot-mirdita merged 3 commits into
steineggerlab:masterfrom
sooyoung-cha:master

Conversation

@sooyoung-cha

Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread src/strucclustutils/structcreatedb.cpp Outdated

std::string removeMODEL(const std::string& input) {
size_t modelIndex = input.find("MODEL");
if (modelIndex == std::string::npos)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't omit curly brackets {} for single line if statements.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done! thanks

Comment thread src/strucclustutils/structcreatedb.cpp Outdated
return a.first < b.first;
}

std::string removeMODEL(const std::string& input) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use camelCaseing.

Comment thread src/strucclustutils/structcreatedb.cpp Outdated
entry.id = readerHeader.getDbKey(id);
entry.entryName = Util::parseFastaHeader(header);
std::pair<size_t, unsigned int> fileIdModelEntry = entrynameToFileId[entry.entryName];
std::string entryNamewithMODEL = Util::parseFastaHeader(header);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please camelCase this too entryNameWithModel

@milot-mirdita milot-mirdita merged commit d326ca0 into steineggerlab:master May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants