소스 검색

Set some operators that lacks corresponding implementation to isUnsupported : true

yakomaxa 2 년 전
부모
커밋
193eb11095
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      src/mol-script/transpilers/pymol/operators.ts

+ 3 - 1
src/mol-script/transpilers/pymol/operators.ts

@@ -235,6 +235,7 @@ export const operators: OperatorList = [
         '@desc': 'Expands selection to complete molecules.',
         '@examples': ['BYMOLECULE resi 20-30'],
         name: 'bymolecule',
+	isUnsupported: true, //structure-query.atom-property.topology.connected-component-key' is not implemented
         abbr: ['bymol', 'bm.'],
         type: h.prefix,
         rule: h.prefixOp(/BYMOLECULE|bymol|bm\./i),
@@ -261,7 +262,7 @@ export const operators: OperatorList = [
         '@desc': 'Expands selection to complete segments.',
         '@examples': ['BYSEGMENT resn CYS'],
         name: 'bysegment',
-        abbr: ['bysegi', 'byseg', 'bs.'],
+        abbr: ['bysegi', 'byseg', 'bs.'],        
         type: h.prefix,
         rule: h.prefixOp(/BYSEGMENT|bysegi|byseg|bs\./i),
         map: (op: string, selection: Expression) => {
@@ -296,6 +297,7 @@ export const operators: OperatorList = [
         '@desc': 'All rings of size ≤ 7 which have at least one atom in s1.',
         '@examples': ['BYRING resn HEM'],
         name: 'byring',
+	isUnsupported: true, // structure-query.atom-set.atom-count' is not implemented.
         type: h.prefix,
         rule: h.prefixOp(/BYRING/i),
         map: (op: string, selection: Expression) => {