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

mmcif writer: clarify error message

parent fa8c653c
No related branches found
No related tags found
No related merge requests found
......@@ -1263,8 +1263,11 @@ namespace {
Feed_atom_site(atom_site, chain_name, entity_id, entity_info[entity_id],
tmp);
} else {
// TODO: make error message more insightful...
throw ost::io::IOException("Unsupported chem class...");
// this should not happen...
std::stringstream ss;
ss << "Unsupported chem class (" << res.GetChemClass();
ss << ") for residue "<< res;
throw ost::io::IOException(ss.str());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment