CellProfiler-Analyst icon indicating copy to clipboard operation
CellProfiler-Analyst copied to clipboard

"Report enrichments" sometimes fails when there are no objects

Open ljosa opened this issue 11 years ago • 0 comments

From Sebastien Tosi ([email protected]):

As a side comment about enrichments I noticed that selecting "report enrichments" was sometimes causing an error (see below) in CPA while un-selecting it reported valid results under the same situation. Investigating the issue I could trace it to the detection/quantification of primary objects related to the main object (exported to the database). Enrichments seem to sometimes fail when the database holds empty lines for these related objects measurements, more specifically when none are found for "many" objects in the table.

S.

An error occurred in the program: AssertionError: Number of column labels does not match the number of columns in data.

Traceback (most recent call last): File "classifier.pyc", line 1182, in ScoreAll File "tableviewer.pyc", line 712, in table_from_array File "tableviewer.pyc", line 173, in init

ljosa avatar Feb 07 '14 18:02 ljosa