Skip to content

[BUG] Measure Objects appears to be broken #1121

@lukasfue

Description

@lukasfue

I generated a jittered triangulation image, thresholded it, labeled it, and used "Get Segmented IDs from labeled image". Then I tried to "measure objects" and received the following traceback:

Error whilst running Analysis>Measure objects

python-microscopy=21.09.16.post0
python=3.7.9, platform=win32
numpy=1.19.1, wx=4.0.4 msw (phoenix) wxWidgets 3.0.5

Traceback

Traceback (most recent call last):
File "c:\users\laf62\python-microscopy\PYME\ui\progress.py", line 153, in func
return fcn(*args, **kwargs)
File "c:\users\laf62\python-microscopy\PYME\LMVis\Extras\objectMeasurements.py", line 149, in OnMeasure
dlg = OMDialog(pipeline.keys())
File "c:\users\laf62\python-microscopy\PYME\LMVis\Extras\objectMeasurements.py", line 61, in init
self.SetSizerAndFit(vsizer)
wx._core.wxAssertionError: C++ assertion "((HWND)GetHWND())" failed at ....\src\msw\window.cpp(1162) in wxWindow::GetLayoutDirection(): invalid window

This approach definitely worked before, so I'm not sure what the issue is.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions