I ran upgrade yesterday evening at 5 PM EST. The only new packages
listed were AssignmentBasic.py and BrowseResonancesPopup.py both of
which I instaled. As a result, the next time I saved a project,
the name attribute for any resonance that had a name of the form,
" 'r%d" % resonance.serial " was stored as name = ''. The next time
I tried to oopen that project, I got an error message to the effect
that the project could not be opened because entries in ccp/Nmr.xml
had a blank for name of resonance. Once I backed out both of the
upgrades and replaced ccp/Nmr.xml with ccp/Nmr.xml.bak, the project
was again openable. On doing a diff of the old, working
AssignmentBasic.py against the upgrade, I found the following new
lines added to initResonance that might be the cause of the
problem:
if resonance.name == 'r%d' % resonance.serial:
resonance.__dict__['name'] = ''
The only other change in AssignmentBasic.py that involves resonance
names is in getResonanceName and reads:
elif resonance.name and (resonance.name != 'r%d' % resonance.serial):
name = '[%d:%s]' % (resonance.serial,resonance.name)
Sincerely,
--
Bruce D. Ray, Ph.D.
Associate Scientist, and Operations Director
NMR Center
IUPUI
Physics Dept.
402 N. Blackford St.
Indianapolis, IN 46202-3273
|