Explorar o código

Fixed StructureElement.Loci.toScriptExpression

David Sehnal %!s(int64=5) %!d(string=hai) anos
pai
achega
aaa8215a6d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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])
             });
         }