Skip to content

Commit d093164

Browse files
authored
Merge pull request #140 from fefossa/issues/138
Comments on Flags for # PLUGINS in config.py
2 parents 631ae11 + 0834264 commit d093164

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed

config.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
NECESSARY_STRING = '' #Is there any string that should be in the file name to "count"?
4242

4343
# PLUGINS
44-
USE_PLUGINS = 'False'
45-
UPDATE_PLUGINS = 'False'
46-
PLUGINS_COMMIT = '' # What commit or version tag do you want to check out?
47-
INSTALL_REQUIREMENTS = 'False'
48-
REQUIREMENTS_FILE = '' # Path within the plugins repo to a requirements file
44+
USE_PLUGINS = 'False' # True to use any plugin from CellProfiler-plugins repo
45+
UPDATE_PLUGINS = 'False' # True to download updates from CellProfiler-plugins repo
46+
PLUGINS_COMMIT = '' # What commit or version tag do you want to check out?
47+
INSTALL_REQUIREMENTS = 'False' # True to install REQUIREMENTS_FILE defined below. Requirements should have all plugin dependencies.
48+
REQUIREMENTS_FILE = '' # Path within the CellProfiler-plugins repo to a requirements file

documentation/DCP-documentation/advanced_configuration.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,20 @@ These values can be modified in run.py .
2323
* **Frequency or types of information included in the per-instance logs:** These can be adjusted in the instance-monitor script.
2424
* **[CellProfiler command line flags](https://github.com/CellProfiler/CellProfiler/wiki/Adapting-CellProfiler-to-a-LIMS-environment#cmd):** These can be modified in the cp-worker script.
2525
* **Log stream names or logging level:** These can be modified in the cp-worker script.
26+
27+
## Changes to CellProfiler pipeline to use Distributed-CellProfiler with RunCellpose plugin
28+
29+
* **Distributed-CellProfiler version:** At least CellProfiler version 4.2.4, and use the DOCKERHUB_TAG in config.py as `bethcimini/distributed-cellprofiler:2.1.0_4.2.4_plugins`.
30+
* **Custom model: If using a [custom User-trained model](https://cellpose.readthedocs.io/en/latest/models.html) generated using Cellpose, add the model file to S3.
31+
We use the following structure to organize our files on S3.
32+
```
33+
└── <project_name>
34+
   └── workspace
35+
     └── model
36+
      └── custom_model_filename
37+
```
38+
* **RunCellpose module:**
39+
* Inside RunCellpose, select the "custom" Detection mode.
40+
In "Location of the pre-trained model file", enter the mounted bucket path to your model.
41+
e.g. **/home/ubuntu/bucket/projects/<project_name>/workspace/model/**
42+
* In "Pre-trained model file name", enter your custom_model_filename

0 commit comments

Comments
 (0)