User 870ab5b546
27-09-2006 13:37:14
I set a reactivity rule,
(!match(ratom(1), "[H][C:1][H]", 1)
&& pKa(ratom(2)) > 14)
so that electrophiles (ratom(1)) that were not primary would react with bases (ratom(2)) stronger than about HO^-. One of my bases was C#[C-], and it improperly failed to react with CC(C)Br. So then I changed the reactivity rule to,
(!match(ratom(1), "[H][C:1][H]", 1)
&& !pKa(ratom(2)) <= 14)
Then it properly reacted.
Mathematically, the two expressions are identical. I think what is happening is that in the first case, the plugin returned NaN for the pKa of C#[C-], which has a pKa of 25, because its pKa > 20. I don't see a way of specifying the minimum and maximum pKa values in the calculator from the reactivity rule.
Just thought you might want to address this issue in documentation or future enhancements.
(!match(ratom(1), "[H][C:1][H]", 1)
&& pKa(ratom(2)) > 14)
so that electrophiles (ratom(1)) that were not primary would react with bases (ratom(2)) stronger than about HO^-. One of my bases was C#[C-], and it improperly failed to react with CC(C)Br. So then I changed the reactivity rule to,
(!match(ratom(1), "[H][C:1][H]", 1)
&& !pKa(ratom(2)) <= 14)
Then it properly reacted.
Mathematically, the two expressions are identical. I think what is happening is that in the first case, the plugin returned NaN for the pKa of C#[C-], which has a pKa of 25, because its pKa > 20. I don't see a way of specifying the minimum and maximum pKa values in the calculator from the reactivity rule.
Just thought you might want to address this issue in documentation or future enhancements.