broadinstitute / pooled-cell-painting-profiling-recipe

:woman_cook: Recipe repository for image-based profiling of Pooled Cell Painting experiments
BSD 3-Clause "New" or "Revised" License
6 stars 4 forks source link

Handle missing metadata #89

Closed ErinWeisbart closed 2 years ago

ErinWeisbart commented 2 years ago

Should fix https://github.com/broadinstitute/CP186-A549-WG/issues/4

Recipe errored at 1./0.merge-single-cells because a site had foci but no cells. So metadata_{site}.csv made during 0./2.process-cells was empty but a non-empty csv was expected in 1./0.merge-single-cells because there was site information in the input_spotdir.

This PR changes:

ErinWeisbart commented 2 years ago

And apparently also includes a commit that should fix an error in 0./4.image-and-segmentation-qc. Don't know how I put it on this branch, but I'm too scared of messing things up to move it so here it stays....