Alexander Rose 1 年之前
父节点
当前提交
2c7d0a6721
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/mol-model-formats/structure/pdb/atom-site.ts

+ 2 - 0
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);