Commit 3f93c27b by Maarten L. Hekkelman

fix reconstruct sequence

parent ab781d45
...@@ -705,7 +705,11 @@ void createEntityPoly(datablock &db) ...@@ -705,7 +705,11 @@ void createEntityPoly(datablock &db)
if (cf.is_base(comp_id)) if (cf.is_base(comp_id))
{ {
c_type = "polydeoxyribonucleotide"; 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)) else if (cf.is_peptide(comp_id))
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment