Right, that aspect ratio bit has been tested by Tim now, and it seems ok,
so I've put it on the update server (same file as before, i.e.
ViewStructureFrame.py).
Wayne
On Tue, 6 Feb 2007, Wayne Boucher wrote:
> Hello,
>
> I've put a try/except block around that exception (fix on the update
> server). But it's a bit worrying that it was trying to delete an atom
> from the structure that is allegedly not in the structure, so the proper
> fix requires more hunting down.
>
> On the aspect ratio front, I've fixed it now so that the effective aspect
> ratio is 1 (i.e. if the height of the window is twice the width then twice
> as much of the 3D space is shown in y versus x). But this still needs to
> be tested before it gets posted, so we'll let you know.
>
> Wayne
>
> On Tue, 6 Feb 2007, Christoph Brockmann wrote:
>
> > Hi,
> >
> > when I change the structure model to display my restraints on, I get the
> > following traceback:
> >
> > Exception in Tkinter callback
> > Traceback (most recent call last):
> > File "/sw/lib/python2.4/lib-tk/Tkinter.py", line 1345, in __call__
> > return self.func(*args)
> > File
> > "/Applications/Unix_programmes/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditAssignmentPopup.py",
> > line 382, in showStructConnections
> > popup.clearConnections()
> > File
> > "/Applications/Unix_programmes/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/ViewStructurePopup.py",
> > line 123, in clearConnections
> > self.structFrame.clearConnections()
> > File
> > "/Applications/Unix_programmes/ccpnmr/ccpnmr1.0/python/ccp/gui/ViewStructureFrame.py",
> > line 556, in clearConnections
> > self.cStructure.removeAtom(cAtom)
> > StructStructure.error: removing atom
> >
> >
> > and show on structure is broken until the next restart.
> >
> > Oh, and by the way... is there a way to fix the interesting behaviour of
> > the structure window that distorts the structures, if you resize it to
> > something different from the original aspect ratio?
> >
> > Thanks,
> > Christoph
> >
> > --
> > ---------------------------------------------------------
> > Dr. Christoph Brockmann
> > Division of Structural Studies
> > MRC Laboratory of Molecular Biology
> > Hills Road
> > Cambridge, CB2 2QH
> > phone: +44-1223-40-2261 or +44-1223-40-2068
> > e-mail: [log in to unmask]
> > ---------------------------------------------------------
> >
>
|