Subject: Re: [nmr_sparky] About the extension "ax--Atom name translation"
From: Thomas Goddard
Date: Dec 6, 2005
Previous: 40 Next: 47
Hi,
This is a bug in Sparky version 3.106. It is not in the most recent
3.110 version.
The fix Eiso suggests of changing line 169 in
sparky/python/sparky/atoms.py
from
return atomnames.standard_group_atom_table.has_key(group_symbol, atom_name)
to
return atomnames.standard_group_atom_table.has_key((group_symbol, atom_name))
(adding double parentheses) is the correct change. This bug occured when
the Python programming language changed, accepting single parentheses in
Python 2.1, but not accepting them in Python 2.3.
Tom