Oh hallelujah it is working! Thank you, not just you Brad but everyone
else that helped me with this!
On 2/04/2015 10:27 AM, Brad Jorsch (Anomie) wrote:
On Wed, Apr 1, 2015 at 3:36 PM, Brenton Horne
<brentonhorne77(a)gmail.com>
wrote:
Any one know how to overcome this problem, or are
yas all stumped?
I've added some error handling to
https://test2.wikipedia.org/wiki/Module:Molar_mass_calculator for you; most
likely it was trying to use a quantity of empty-string for any elements you
didn't specify in your Chembox, which tonumber() converts to nil. You could
probably also have had your Chembox pass 0 as a default (e.g. {{{Ag|0}}}
instead of {{{Ag|}}}).
If it's still not working, feel free to put your test cases on test2wiki so
we can see them directly.