Incompatibility between ExportToDatabase (CPAnalyst) and skipped files in the FlagImage modules

Dear all,

I was getting an error when trying to run the ExportToDatabase module (to use it in CPAnalyst) in CellExplorer (see message below). The database files and CPAnalyst file was not generated. I managed to identify that the problem was the Skipping of some images in an initial FlagImage module. The error stoped when I disabled the module or when I excluded the images that I knew were going to be skipped.



Error Message:
Traceback (most recent call last):
File “cellprofiler\pipeline.pyc”, line 2217, in post_run
File “cellprofiler\modules\exporttodatabase.pyc”, line 2006, in post_run
File “cellprofiler\modules\exporttodatabase.pyc”, line 2799, in write_csv_data
TypeError: ufunc ‘isnan’ not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ‘‘safe’’