Print

Print


As it happens (!) we're thinking about junking that first way of doing
strips and going to trying to fit them all in one WindowPopup (so that at
least they move around together and can be guaranteed to stay the same
size as each other, etc.).  That's a non-trivial change but will hopefully
happen soon.

Wayne

On Fri, 20 Aug 2004, Brian Smith wrote:

> Hi,
>
>         I was just having a little play with the strips feature that is
> new in 1.0.b16.  I have to say I generally like it very much - it is along
> the lines of the "honest" strips that were possible to a more limited
> extent in ANSIG so fans of FELIX and XEASY (are there any ;-) ) probably
> won't like the lack of "mask".
>
>         There are some features I would like to request -
>
> Horizontal as well as vertical strips (and if you extend the idea so that
> both horizontal & vertical panning/zooming can be linked at once between
> windows/strips then I will have nearly all the ANSIG "graphics
> attach"-like behaviour I want and will shut up about that).
>
> Extension of "tidy" function - It would be nice if this resized the
> windows to match, say, the first in the strip series as well as
> positioning them.
>
>
>
> Found a bug too - generally looks as if a couple of notifiers for the
> entries in the Edit strip popup are missing?  But specifically, decreasing
> the number of windows in a strip series using the popup generates stuff
> like (all seems to happen OK though):
>
> Exception in Tkinter callback
> Traceback (most recent call last):
>   File "/usr/lib64/python2.2/lib-tk/Tkinter.py", line 1316, in __call__
>     return apply(self.func, args)
>   File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/EditStripPopup.py",
> line 189, in setNumberWindows
>     deleteStripGroupWindows(stripGroup, numberWindowsToDelete=-m)
>   File "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/Util.py", line
> 655, in deleteStripGroupWindows
>     window.delete()
>   File
> "/usr/local/ccpnmr/ccpnmr1.0/python/memops/general/Implementation.py",
> line 406, in delete
>     notify(obj)
>   File
> "/usr/local/ccpnmr/ccpnmr1.0/python/ccpnmr/analysis/WindowPopup.py", line
> 477, in setPeaksSelector
>
> self.peaksToggleSelector.update(objects=peakLists,labels=labels,colors=colors)
>   File
> "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/PartitionedSelector.py",
> line 131, in update
>     self.setButtonState(i, self.state[i])
>   File
> "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/PartitionedSelector.py",
> line 170, in setButtonState
>     fg = invertColor(self,color) or 'black'
>   File "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/Color.py", line 177,
> in invertColor
>     [r0,g0,b0] = getFloatRgb(widget, color)
>   File "/usr/local/ccpnmr/ccpnmr1.0/python/memops/gui/Color.py", line 169,
> in getFloatRgb
>     rgb = widget.winfo_rgb(color)
>   File "/usr/lib64/python2.2/lib-tk/Tkinter.py", line 705, in winfo_rgb
>     return self._getints(
> TclError: bad window path name
> ".37268792.100486504.77800776.106087480.101032360.50643688.54937816.47025400"
>
>
>
>
> --
> Dr. Brian O. Smith ---------------------- B.Smith at bio.gla.ac.uk
>           Division of Biochemistry & Molecular Biology,
>               Institute Biomedical & Life Sciences,
> Joseph Black Building, University of Glasgow, Glasgow G12 8QQ, UK.
> Tel: 0141 330 5167/6459                         Fax: 0141 330 8640
>