Skip to content
Snippets Groups Projects
Commit 513bd8bc authored by Studer Gabriel's avatar Studer Gabriel
Browse files

mmcif writer: ensure that all hetero residues are written in chem comp

parent 2d1da4b9
No related branches found
No related tags found
No related merge requests found
......@@ -987,6 +987,9 @@ namespace {
std::set<String> unique_compounds;
for(auto ent: entity_infos) {
unique_compounds.insert(ent.mon_ids.begin(), ent.mon_ids.end());
for(auto het_it: ent.het) {
unique_compounds.insert(het_it.second.begin(), het_it.second.end());
}
}
std::vector<ost::io::StarWriterValue> comp_data(2);
for(auto mon_id: unique_compounds) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment