CellProfiler / CellProfiler-plugins

Community-contributed and experimental CellProfiler modules.
http://plugins.cellprofiler.org/
56 stars 67 forks source link

RunCellpose warning for custom model not found #158

Closed fefossa closed 1 year ago

fefossa commented 2 years ago

Is your feature request related to a problem? Please describe.

Running RunCellpose with a custom model, and changing the model from the previously defined folder, doesn't warn you that the file is not found anymore; the module just runs with a built-in model from cellpose, without raising any error.

Describe the solution you'd like

Raise ValidationError in the pipeline for File not found when running RunCellpose with custom models.

fefossa commented 1 year ago

This pull request solves the issue https://github.com/CellProfiler/CellProfiler-plugins/pull/159