|
@@ -67,21 +67,17 @@ export function getAtomSite(sites: AtomSiteTemplate, terIndices: Set<number>): {
|
|
const seqId = auth_seq_id.int(i);
|
|
const seqId = auth_seq_id.int(i);
|
|
let atomId = auth_atom_id.str(i);
|
|
let atomId = auth_atom_id.str(i);
|
|
|
|
|
|
- let asymIdChanged = false;
|
|
|
|
-
|
|
|
|
if (modelNum !== currModelNum) {
|
|
if (modelNum !== currModelNum) {
|
|
asymIdCounts.clear();
|
|
asymIdCounts.clear();
|
|
atomIdCounts.clear();
|
|
atomIdCounts.clear();
|
|
currModelNum = modelNum;
|
|
currModelNum = modelNum;
|
|
currAsymId = asymId;
|
|
currAsymId = asymId;
|
|
currSeqId = seqId;
|
|
currSeqId = seqId;
|
|
- asymIdChanged = true;
|
|
|
|
currLabelAsymId = asymId;
|
|
currLabelAsymId = asymId;
|
|
} else if (currAsymId !== asymId) {
|
|
} else if (currAsymId !== asymId) {
|
|
atomIdCounts.clear();
|
|
atomIdCounts.clear();
|
|
currAsymId = asymId;
|
|
currAsymId = asymId;
|
|
currSeqId = seqId;
|
|
currSeqId = seqId;
|
|
- asymIdChanged = true;
|
|
|
|
currLabelAsymId = asymId;
|
|
currLabelAsymId = asymId;
|
|
} else if (currSeqId !== seqId) {
|
|
} else if (currSeqId !== seqId) {
|
|
atomIdCounts.clear();
|
|
atomIdCounts.clear();
|