given the structure
I observed, that when the input path to cell profiler is for instance
and I want to extract metadata from both (path and file)
CP2 passes the input path (/root/project/batch_1/) and the file name (file_1.tif).
My question is how can I extract the information in between the path and the file name (…/plate_1/measurement_1/…)?
The current workaround is to process each plate induvidually, but I’m looking for a solution, that spares us to separate the image folders.