ratt-ru / tigger

Local Sky Model (LSM) manager and FITS image viewer
8 stars 9 forks source link

TypeError: iter() returned non-iterator of type 'Iterator' #106

Closed o-smirnov closed 3 years ago

o-smirnov commented 3 years ago

Getting a bunch of these when I work with LSM sources. In particular, "invert selection" is broken. Also would be good to remove that spurious print statement.

<Tigger.Models.ModelClasses.Polarization object at 0x7fda9f759c10>
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/TigGUI/SkyModelTreeWidget.py", line 134, in _selectionChanged
    for item in self.iterator():
TypeError: iter() returned non-iterator of type 'Iterator'
<Tigger.Models.ModelClasses.Polarization object at 0x7fda9f747e90>
o-smirnov commented 3 years ago

Nevermind this is fixed in 1.5.0, I had an old version lingering somewhere.