Ken Brewer
07/09/2025, 11:15 PMstageAs: "images/*" to stage all the image files into a dedicated directory. It turns out that cellprofiler 's --image-directory ./images/ argument doesn't work as intended when invoked by nextflow's combination of symlinks and docker. Instead we had to stage all the images in the task directory itself and use --image-directory ./
As a point of feedback to @Erin Weisbart. This workaround is not ideal, but will be fine. I am concerned, however, by the fact that in the Cellprofiler wiki the default image directory argument is listed as deprecated. Having some way at the CLI for Nextflow to control where images should be found is pretty important.
It would be great to get a couple of PR reviews on this because this will establish the patterns we will be using in other parts of the codebase.