CellProfiler / CellProfiler-Analyst

Open-source software for exploring and analyzing large, high-dimensional image-derived data.
http://cellprofileranalyst.org
Other
146 stars 72 forks source link

[Python3_Port] Classifier "*create new filter*" bug MacOSX #282

Closed pearlryder closed 3 years ago

pearlryder commented 3 years ago

OSX, 10.15.7, CPA example properties file

Open Classifier > Select "create new filter" in the "from" dropdown menu. This error appears and no filter can be created. Accept error, CPA still open.

An error occurred in the program:
wx._core.wxAssertionError: C++ assertion ""GetTextPeer()"" failed at /Users/robind/projects/bb2/dist-osx-py38/build/ext/wxWidgets/src/osx/textentry_osx.cpp(224) in Clear(): Must create the control first

Traceback (most recent call last):
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/classifier.py", line 1818, in OnSelectFilter
    cff = ColumnFilterDialog(self, tables=tables, size=(600,150))
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/columnfilter.py", line 154, in __init__
    self.panels = [ColumnFilterPanel(self.sw, tables, False)]
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/columnfilter.py", line 29, in __init__
    self.update_comparator_choice()
  File "/Users/pryder/GitHub/CellProfiler-Analyst/cpa/columnfilter.py", line 85, in update_comparator_choice
    self.comparatorChoice.SetItems(comparators)
  File "/Users/pryder/.virtualenvs/CellProfiler-Analyst/lib/python3.8/site-packages/wx/core.py", line 2548, in _ItemContainer_SetItems
    self.Set(items)