Skip to content

Commit

Permalink
fix reconstruct sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Jan 29, 2024
1 parent ab781d4 commit 3f93c27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/pdb/reconstruct.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,11 @@ void createEntityPoly(datablock &db)
if (cf.is_base(comp_id))
{
c_type = "polydeoxyribonucleotide";
letter = letter_can = compound_factory::kBaseMap.at(comp_id);
letter_can = compound_factory::kBaseMap.at(comp_id);
if (comp_id.length() == 1)
letter = letter_can;
else
letter = '(' + letter_can + ')';
}
else if (cf.is_peptide(comp_id))
{
Expand Down

0 comments on commit 3f93c27

Please sign in to comment.