Skip to content

CellProfiler SMO plugin error (UnboundLocalError: local variable 'y_data' referenced before assignment) #6

@iuri-cv

Description

@iuri-cv

Hi,
I get the following error message when running the SMO plugin in CellProfiler:

Worker 2: Running module SMO 7 Worker 2: run_image_set_exception, get_always_continue False Worker 2: Error detected during run of module SMO#7 Worker 2: Traceback (most recent call last): Worker 2: File "/home/iuri/cp4_8/lib/python3.8/site-packages/cellprofiler_core/pipeline/_pipeline.py", line 1208, in run_image_set Worker 2: self.run_module(module, workspace) Worker 2: File "/home/iuri/cp4_8/lib/python3.8/site-packages/cellprofiler_core/pipeline/_pipeline.py", line 1349, in run_module Worker 2: module.run(workspace) Worker 2: File "/home/iuri/cp4_8/CellProfiler-plugins/active_plugins/smo.py", line 202, in run Worker 2: image=y_data.data, Worker 2: UnboundLocalError: local variable 'y_data' referenced before assignment

Any idea on how to solve this ?
Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions