瀏覽代碼

Fixed StructureElement.Loci.toScriptExpression

David Sehnal 5 年之前
父節點
當前提交
aaa8215a6d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/mol-model/structure/structure/element.ts

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

@@ -385,7 +385,7 @@ namespace StructureElement {
             }
 
             return MS.struct.generator.atomGroups({
-                'atom-test': tests.length > 1 ? MS.core.logic.or.apply(null, tests) : tests[0],
+                'atom-test': tests.length > 1 ? MS.core.logic.or(tests) : tests[0],
                 'chain-test': MS.core.rel.eq([MS.struct.atomProperty.core.operatorName(), opName])
             });
         }