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

mmcif writer: remove unnecessary checks

parent 4e15e70b
No related branches found
No related tags found
No related merge requests found
......@@ -975,10 +975,6 @@ namespace {
++label_seq_id;
}
if(res_name != aln[label_seq_id]) {
throw "ksajdhfgjkaljshdfsfgd";
}
data[2] = ost::io::StarWriterValue::FromString(res_name);
data[3] = ost::io::StarWriterValue::FromInt(label_seq_id + 1);
......@@ -1045,9 +1041,6 @@ namespace {
while(aln[label_seq_id] == "-") {
++label_seq_id;
}
if(comp_id != aln[label_seq_id]) {
throw "ksajdhfgjkaljshdfsfgd";
}
}
for(auto at: at_list) {
......
......@@ -60,7 +60,8 @@ struct MMCifWriterEntity {
// One alignment to mon_ids for each element in asym_ids, i.e. SEQRES-ATOMSEQ
// alignment. Contains "-" for residues that are missing in ATOMSEQ.
// irrelevant if is_poly is false.
// irrelevant if is_poly is false. The assumption is that aligned residues
// exactly match with the respective position in mon_ids.
std::vector<std::vector<String> > asym_alns;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment