Closed MrHassanMurtaza closed 2 years ago
Hi,
There have not been any updates made to the worker code in the last ~12 months; all the other changes to the repository only affect the non-Dockerized portions of the workflow. The only changes have been to build with different "FROM" statements to pull the relevant CellProfiler Dockers for 4.1.3, etc.
Those errors seem to be plugin related; you will need to add the dependencies for those plugins to your Docker if you want to use them.
Hope that helps!
Thanks for your reply.
I just changed the FROM statement to:
FROM cellprofiler/cellprofiler:4.1.3
I didn't change anything else - yet the error only appears when I use my own built image.
Currently only tested on illumination correction pipeline. I did ssh inside the container and it has all the plugins in it. Not sure what could be the issue.
CellProfiler command looks like this:
INFO:__main__:cellprofiler -c -r -p /home/ubuntu/bucket/xxxxxxx.cppipe -i /home/ubuntu/bucket/xxxxxxxx/images/ -o /home/ubuntu/local_output/xxxxxx -d /home/ubuntu/local_output/xxxxx/cp.is.done --data-file=/home/ubuntu/bucket/xxxxxxxxx/load_data_csv/xxxxxxxx-without-illum.csv -g Metadata_Plate=xxxxxxxxxxx --plugins-directory=/home/ubuntu/CellProfiler-plugins
I'm not certain what to recommend here, since as I said none of the Dockerized code has changed! But if you're not running something that requires those plugins, none of the "failure to import module X" issues should affect your ability to run the illumination correction pipeline; if there is an issue with specifically running that, it's not in your Traceback here.
I see that the illumination correction pipeline is still running as expected. I was just a bit worried if it'll affect the results of the illumination correction (from my non-biologists point of view). I'll test one full illumination correction run.
First of all, thanks for your work!
Is it possible to update the Docker Image with the latest version of the CellProfiler or at least 4.1.3?
I understand that the latest image has been built and pushed to Dockerhub but having it in the repository will enable us to make minor changes in the code if needed. I tried to build my own image by changing the CellProfiler version but I got a lot of errors w.r.t. dependencies. Please find the error logs trail below: