Explorar el Código

Fixed StructureElement.Loci.toScriptExpression

David Sehnal hace 5 años
padre
commit
aaa8215a6d
Se han modificado 1 ficheros con 1 adiciones y 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])
             });
         }