I'm trying to write some more reaction definitions, and I am getting inexplicable (to me) results.
[bob@epoch bob]$ evaluate -e "dynamicpKa()" "CC1CCCCC1=O"
Exception in thread "main" chemaxon.nfunk.jep.ParseException: Error while compiling expression:
dynamicpKa()
Encountered ")" at line 1, column 12.
Was expecting...
"+" ...
"-" ...
<NOT> ...
<STRING_LITERAL> ...
<INTEGER_LITERAL> ...
<FLOATING_POINT_LITERAL> ...
<IDENTIFIER> ...
"(" ...
at chemaxon.nfunk.jep.JEP.parseExpression(JEP.java:399)
at chemaxon.jep.ChemJEP.compile(ChemJEP.java:115)
at chemaxon.jep.Evaluator.compile(Evaluator.java:783)
at chemaxon.jep.Evaluator.compile(Evaluator.java:708)
at chemaxon.jep.Evaluator.main(Evaluator.java:1011)
Caused by:
chemaxon.nfunk.jep.ParseException: Encountered ")" at line 1, column 12.
Was expecting...
"+" ...
"-" ...
<NOT> ...
<STRING_LITERAL> ...
<INTEGER_LITERAL> ...
<FLOATING_POINT_LITERAL> ...
<IDENTIFIER> ...
"(" ...
at chemaxon.nfunk.jep.Parser.generateParseException(Parser.java:1753)
at chemaxon.nfunk.jep.Parser.jj_consume_token(Parser.java:1633)
at chemaxon.nfunk.jep.Parser.MultipleExpression(Parser.java:108)
at chemaxon.nfunk.jep.Parser.Expression(Parser.java:85)
at chemaxon.nfunk.jep.Parser.UnaryExpressionNotPlusMinus(Parser.java:841)
at chemaxon.nfunk.jep.Parser.PowerExpression(Parser.java:770)
at chemaxon.nfunk.jep.Parser.MultiplicativeExpression(Parser.java:558)
at chemaxon.nfunk.jep.Parser.AdditiveExpression(Parser.java:463)
at chemaxon.nfunk.jep.Parser.RelationalExpression(Parser.java:319)
at chemaxon.nfunk.jep.Parser.EqualExpression(Parser.java:237)
at chemaxon.nfunk.jep.Parser.AndExpression(Parser.java:194)
at chemaxon.nfunk.jep.Parser.OrExpression(Parser.java:151)
at chemaxon.nfunk.jep.Parser.MultipleExpression(Parser.java:101)
at chemaxon.nfunk.jep.Parser.Expression(Parser.java:85)
at chemaxon.nfunk.jep.Parser.Start(Parser.java:35)
at chemaxon.nfunk.jep.Parser.parseStream(Parser.java:18)
at chemaxon.nfunk.jep.JEP.parseExpression(JEP.java:373)
at chemaxon.jep.ChemJEP.compile(ChemJEP.java:115)
at chemaxon.jep.Evaluator.compile(Evaluator.java:783)
at chemaxon.jep.Evaluator.compile(Evaluator.java:708)
at chemaxon.jep.Evaluator.main(Evaluator.java:1011)
??? What does this mean, and how do I solve it?
My evaluator.xml file contains the following definition of dynamicpKa():
<Plugin ID="dynamicpKa" class="chemaxon.marvin.calculations.pKaPlugin" JAR="pKaPlugin.jar">
<Param Name="prefix" Value="dynamic"/>
<Param Name="type" Value="acidic"/>
<Param Name="min" Value="-1000"/>
<Param Name="max" Value="1000"/>
</Plugin>
Also, I don't understand this result:
[bob@epoch bob]$ evaluate -e "apKa()" "CC1CCCCC1=O"
;;;;;;;
Shouldn't the C atoms alpha to the ketone be considered acidic?
We're using JChem 5.1.05.