Skip to content
Snippets Groups Projects
Commit 11bf3522 authored by yakomaxa's avatar yakomaxa
Browse files

Added experimental within to rasmol

parent 5fd560b3
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ import * as h from '../helper';
import { MolScriptBuilder } from '../../../mol-script/language/builder';
const B = MolScriptBuilder;
import { OperatorList } from '../types';
// import { Expression } from '../../language/expression';
import { Expression } from '../../language/expression';
export const operators: OperatorList = [
......@@ -40,7 +40,7 @@ export const operators: OperatorList = [
type: h.binaryLeft,
rule: h.infixOp(/OR|\||\|\|/i),
map: (op, s1, s2) => B.struct.combinator.merge([s1, s2])
}
},
{
'@desc': 'Selects atoms within a specified distance of a selection',
'@examples': ['within 5 of name FE'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment