From 2c7d0a67210541f3a850ef3d931d248304352849 Mon Sep 17 00:00:00 2001
From: Alexander Rose <alexander.rose@weirdbyte.de>
Date: Sat, 13 May 2023 10:03:39 -0700
Subject: [PATCH] comment

---
 src/mol-model-formats/structure/pdb/atom-site.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mol-model-formats/structure/pdb/atom-site.ts b/src/mol-model-formats/structure/pdb/atom-site.ts
index c109a874b..26eaaeacc 100644
--- a/src/mol-model-formats/structure/pdb/atom-site.ts
+++ b/src/mol-model-formats/structure/pdb/atom-site.ts
@@ -87,6 +87,8 @@ export function getAtomSite(sites: AtomSiteTemplate, terIndices: Set<number>, op
         if (asymIdCounts.has(asymId)) {
             // only change the chains name if there are TER records
             // otherwise assume repeated chain name use is from interleaved chains
+            // also don't change the chains name if there are assemblies
+            // as those require the original chain name
             if (terIndices.has(i) && !options.hasAssemblies) {
                 const asymIdCount = asymIdCounts.get(asymId)! + 1;
                 asymIdCounts.set(asymId, asymIdCount);
-- 
GitLab