CellProfiler-Analyst
CellProfiler-Analyst copied to clipboard
Create CellProfiler .csv should include all Image_Metadata columns
Currently, the feature that creates a CellProfiler .csv from one or more gates creates a table with Image_Metadata_Plate and Image_Metadata_Well columns, but it ignores the Image_Metadata_Site column. It should either allow choice of metadata to export, take the choice from the properties file or export any column starting with "Image_Metadata" in addition to the plate and well columns defined in the properties file.
It's always been a shame that CPA never fully supported site metadata; the properties file doesn't have a field for it. It probably wouldn't take too much to add it in as a field, even if unused otherwise.
I could also see an argument for all metadata cols being included; saves you the trouble of tacking them on some other way. Some cols aren't needed (e.g., MD5digest) but I guess that's better than nothing. Maybe do both this and the above?
I think in this one case, it might not take too much work to scan the columns in the per-image table for "Image_Metadata" even if that's a bit of a hack.