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] Scatter Plot create new filter error #284

Closed pearlryder closed 3 years ago

pearlryder commented 3 years ago

OSX 10.15.7, CPA example properties file

Open Scatter Plot. Select "CREATE NEW FILTER" on the "filter:" menu. This error appears.

Note that filtering with previously created gates does work.

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/guiutils.py", line 371, in on_select
    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)