diff --git a/src/mol-model-formats/structure/pdb/atom-site.ts b/src/mol-model-formats/structure/pdb/atom-site.ts index 21d5364d6f546aa041e2992c94b84a156347cf52..c8b1c996077de39d522b6916f161b69de7fcb27b 100644 --- a/src/mol-model-formats/structure/pdb/atom-site.ts +++ b/src/mol-model-formats/structure/pdb/atom-site.ts @@ -67,21 +67,17 @@ export function getAtomSite(sites: AtomSiteTemplate, terIndices: Set<number>): { const seqId = auth_seq_id.int(i); let atomId = auth_atom_id.str(i); - let asymIdChanged = false; - if (modelNum !== currModelNum) { asymIdCounts.clear(); atomIdCounts.clear(); currModelNum = modelNum; currAsymId = asymId; currSeqId = seqId; - asymIdChanged = true; currLabelAsymId = asymId; } else if (currAsymId !== asymId) { atomIdCounts.clear(); currAsymId = asymId; currSeqId = seqId; - asymIdChanged = true; currLabelAsymId = asymId; } else if (currSeqId !== seqId) { atomIdCounts.clear();