Browse Source

Fixed StructureElement.Loci.toScriptExpression

Alexander Rose 5 years ago
parent
commit
238191660e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-model/structure/structure/element.ts

+ 1 - 1
src/mol-model/structure/structure/element.ts

@@ -368,7 +368,7 @@ namespace StructureElement {
             }
 
             return MS.struct.modifier.union([
-                byOpName.length === 1 ? byOpName[0] : MS.struct.combinator.merge.apply(null, byOpName)
+                byOpName.length === 1 ? byOpName[0] : MS.struct.combinator.merge(byOpName)
             ]);
         }