Skip to content
Snippets Groups Projects
Commit 0511d3e5 authored by yakomaxa's avatar yakomaxa
Browse files

Unparenthesized residue range enabled in RasMol and parenthesized was un-activated

parent 92a41b5c
No related branches found
No related tags found
No related merge requests found
......@@ -132,7 +132,8 @@ const lang = P.MonadicParser.createLanguage({
r.Parens,
r.Operator,
r.Expression
).wrap(P.MonadicParser.regexp(/\(\s+/), P.MonadicParser.regexp(/\s+\)/));
).wrap(P.MonadicParser.string("("), P.MonadicParser.string(")"));
// ).wrap(P.MonadicParser.regexp(/\(\s+/), P.MonadicParser.regexp(/\s+\)/));
},
Expression: function (r: any) {
......@@ -189,17 +190,6 @@ const lang = P.MonadicParser.createLanguage({
orNull(propertiesDict.chain)
).map(x => { return { chain: x[0] }; }),
)),
// 1-100,201
bra.then(P.MonadicParser.alt(
P.MonadicParser.alt(
P.MonadicParser.seq(
propertiesDict.resi.skip(ket),
).map(x => {
return { resi: x[0] }
;
})
)
)),
// [lys]10:a.ca [lys]10:a [lys]10 [lys]10.ca
// [lys]:a.ca [lys]:a [lys] [lys].ca
commu.then(P.MonadicParser.alt(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment