Explorar o código

isWithoutOperator tweak

dsehnal %!s(int64=3) %!d(string=hai) anos
pai
achega
042a7625ad
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = [