Kaynağa Gözat

Fixed StructureElement.Loci.toScriptExpression

David Sehnal 5 yıl önce
ebeveyn
işleme
aaa8215a6d
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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])
             });
         }