Procházet zdrojové kódy

tweaked Structure.hasHighSymmetry

Alexander Rose před 5 roky
rodič
revize
8f93dce105
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
         )
     }