Skip to content

[BUG] widefield shift map dialog doesn't open #1706

Description

@barentine

Describe the bug

Traceback

'''
Error whilst running Processing>Apply vector shifts

python-microscopy=26.09.03.post0.dev[git]
python=3.11.15, platform=darwin
numpy=2.4.3, wx=4.2.5 osx-cocoa (phoenix) wxWidgets 3.2.9

Traceback

Traceback (most recent call last):
File "/Users/andy/code/python-microscopy/PYME/ui/progress.py", line 153, in func
return fcn(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/Users/andy/code/python-microscopy/PYME/DSView/modules/composite.py", line 625, in OnApplyShiftmap
dlg = ShiftmapSelectionDialog(self.dsviewer, self.image)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/andy/code/python-microscopy/PYME/DSView/modules/composite.py", line 181, in init
sizer2.Add(wx.StaticText(self, -1, image.names[chan]), 0, wx.ALIGN_CENTER_VERTICAL | wx.ALL, 5)
wx._core.wxAssertionError: C++ assertion ""Assert failure"" failed at ./src/common/sizer.cpp(1606) in DoInsert(): too many items (5 > 2
2) in grid sizer (maybe you should omit the number of either rows or columns?)

'''

To Reproduce
Steps to reproduce the behavior:

  1. PYMEImage -t
  2. Click on 'Processing>Apply shift vectors'
  3. See error

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions