Cellprofiler: ExportToSpreadsheet error when filtering objects in IDSecondary

Created on 9 Nov 2017  路  2Comments  路  Source: CellProfiler/CellProfiler

In a pipeline which has an IDSecondary module in it where you're filtering primary objects based on the secondary objects (aka when Discard secondary objects touching the border of the image? and Discard the associated primary objects? are both set to "Yes"), trying to only export specific measurements in ExportToSpreadsheet using the Press to select measurements option box gives the following error:

Traceback (most recent call last):
  File "CellProfiler\cellprofiler\gui\moduleview.py", line 878, in on_press
  File "CellProfiler\cellprofiler\setting.py", line 1977, in populate_choices
  File "CellProfiler\cellprofiler\setting.py", line 1974, in valid_mc
TypeError: argument of type 'ObjectNameSubscriber' is not iterable

If you export all measurements it works fine, and the Press to select measurements option works fine if Discard the associated primary objects? is set to "No", so it's only when the two combine you end up with problems.

Pipeline attached (and images, though those shouldn't be necessary to validate).

IDSecondary_ExportToSpreadsheet.zip

Bug

Most helpful comment

Yes, in 3.1.9 we do not get this error.

All 2 comments

Appears to be fixed in 3.1.9, probably by #3685

Yes, in 3.1.9 we do not get this error.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0x00b1 picture 0x00b1  路  10Comments

AetherUnbound picture AetherUnbound  路  4Comments

bchidest picture bchidest  路  6Comments

0x00b1 picture 0x00b1  路  5Comments

AnneCarpenter picture AnneCarpenter  路  9Comments