瀏覽代碼

isWithoutOperator tweak

dsehnal 3 年之前
父節點
當前提交
042a7625ad
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/mol-model/structure/export/mmcif.ts

+ 1 - 1
src/mol-model/structure/export/mmcif.ts

@@ -53,7 +53,7 @@ function isWithoutSymmetry(structure: Structure) {
 }
 
 function isWithoutOperator(structure: Structure) {
-    return isWithoutSymmetry(structure) && structure.units.every(u => !u.conformation.operator.suffix);
+    return isWithoutSymmetry(structure) && structure.units.every(u => !u.conformation.operator.assembly && !u.conformation.operator.suffix);
 }
 
 const Categories = [