This fixes an error that would sometime cause it to produce a PDB file with duplicate CONECT records for nonstandard residues. However, it only happened if no heavy atoms were being added. If it needed to add even a single heavy atom anywhere it the system, it followed a different code path and the error didn't happen.
This fixes an error that would sometime cause it to produce a PDB file with duplicate CONECT records for nonstandard residues. However, it only happened if no heavy atoms were being added. If it needed to add even a single heavy atom anywhere it the system, it followed a different code path and the error didn't happen.