Parcourir la source

isWithoutOperator tweak

dsehnal il y a 3 ans
Parent
commit
042a7625ad
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 = [