dchaley / deepcell-imaging

Tools & guidance to scale DeepCell imaging on Google Cloud Batch
8 stars 2 forks source link

Create QuPath segment + measure job #294

Closed dchaley closed 2 months ago

dchaley commented 3 months ago

Create a job launcher that works on a QuPath dataset root, which submits a job:

The QuPath measurement job:

Note that we use the final runnable because the Job Dependencies preview isn't available in the target environment.

dchaley commented 3 months ago

Note that we need the segmentation to produce a tiff for the whole-cell mask, and for the nucleus mask. I don't know if we even output correctly with compartment=both.

RESULT: we don't, #298

dchaley commented 2 months ago

The target environment doesn't have the Batch job dependency preview enabled.

We'll need an alternate approach. One idea: add another task runnable. All TASK_INDEX except 0 immediately stop. The zero'th task simply submits the next job: QuPath measurements.

dchaley commented 2 months ago

New dependency: the runnable mentioned above. #311

Once we have that runnable, this ticket becomes: add it as the last task.

dchaley commented 2 months ago

Update: #315 added the job, but along the way measurement broke– will close this on fix.

dchaley commented 2 months ago

We did it 🏆

scripts/segment-and-measure.py