瀏覽代碼

tweaked Structure.hasHighSymmetry

Alexander Rose 5 年之前
父節點
當前提交
8f93dce105
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/mol-model/structure/structure/structure.ts

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

@@ -1036,7 +1036,7 @@ namespace Structure {
     function hasHighSymmetry(structure: Structure, thresholds: SizeThresholds) {
         const polymerSymmetryGroups = getPolymerSymmetryGroups(structure)
         return (
-            polymerSymmetryGroups.length > 1 &&
+            polymerSymmetryGroups.length >= 1 &&
             polymerSymmetryGroups[0].units.length > thresholds.highSymmetryUnitCount
         )
     }