Explorar o código

tweaked Structure.hasHighSymmetry

Alexander Rose %!s(int64=5) %!d(string=hai) anos
pai
achega
8f93dce105
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
         )
     }