Dear Justin,
The "Deprecated: getByKey called with too short key" error message comes
from memops/format/xml/XmlIO.py.
We have changed a lot in the model, so the old XML files no longer match
the current data structure. There are some hacks in place to handle that,
but we do print out this warning.
This and similar warnings are expected from memops/format/xml/XmlIO.py and
memops/format/xml/Compatibility.py when you are reading an old format
file. They mean nothing bad, and we know about them. If you still get
these warnings when reading a file that has been saved with the new
release, or when not loading files, then (but only then) there may be a
problem.
Sorry for not removing the warnings from this particular spot, but it
would not be easy to remove them there and keep them elsewhere. This whole
backwards compatibility thing is hard enough already, believe me!
Yours,
Rasmus
---------------------------------------------------------------------------
Dr. Rasmus H. Fogh Email: [log in to unmask]
Dept. of Biochemistry, University of Cambridge,
80 Tennis Court Road, Cambridge CB2 1GA, UK. FAX (01223)766002
On Thu, 16 Nov 2006, Justin Douglas wrote:
> Wayne and Tim,
>
> I think I'm going for a new record.
>
> When I call the SpinSystemType popup (via right click, Assign, predict spin
> system type) I get many repeats of the following error message.
>
>
> >>> Deprecated: getByKey called with too short key
> from doLoad line 770 in
> /home/douglas/Documents/Programs/software/analysis/ccpnmr/ccpnmr1.0/python/memops/format/xml/XmlIO.py:
> [" obj = oo.getByKey(endMap['class'],useKey)\n"]
>
|