diff --git a/modules/io/src/mol/mmcif_writer.cc b/modules/io/src/mol/mmcif_writer.cc index 8d3afe053b3bd72a58321d9a8128785c4879b221..6f65f477a69b2a060251c2c1ca9e7aa78ff21bc2 100644 --- a/modules/io/src/mol/mmcif_writer.cc +++ b/modules/io/src/mol/mmcif_writer.cc @@ -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) { diff --git a/modules/io/src/mol/mmcif_writer.hh b/modules/io/src/mol/mmcif_writer.hh index be110936480178a3db6a8b378871d787d68fdae2..8a5986387a9549c06af4d9214f2a117c323e105a 100644 --- a/modules/io/src/mol/mmcif_writer.hh +++ b/modules/io/src/mol/mmcif_writer.hh @@ -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; };