Преглед изворни кода

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
         )
     }