MeasureObjectNeighbors:boolean index did not match indexed array along dimension 1-cellprofiler

I am getting the following error when I try to use the MeasureObjectNeighbors module.
boolean index did not match indexed array along dimension 1.

FYI: I created two kinds of objects using IdentifysecondaryObjects(wholecell) and then separately with ConvertImagetoObjects(holes). I’d like to measure the neighboring wholecell objects to the hole objects. However I can’t get passed this error.

Any help is very much appreciated! Thank you!

Hi @Randy_Strauss,

This is actually a known issue which should be fixed in the next major release of CellProfiler. Someone may have a workaround o calculate neighbours using other modules, depending on which measurements you’re interested in capturing.