Skip to content

AttributeError when extracting multiple ROIs on a single image, if more than one image is selected #121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
PierreRaybaut opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@PierreRaybaut
Copy link
Contributor

How to reproduce:

  • Select more than one image
  • Select "Processing > ROI extraction"
  • Enable "Extract all ROIs in a single image object"
  • Click on "OK"

Example of extraction:
Image

Traceback:

Traceback (most recent call last):
  File "C:\Dev\Projets\DataLab\cdl\core\gui\processor\catcher.py", line 50, in wng_err_func
    result = func(*args)
             ^^^^^^^^^^^
  File "C:\Dev\Projets\DataLab\cdl\computation\image\__init__.py", line 773, in extract_multiple_roi
    src2.roi = src2.roi.from_params(src2, group)
               ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'from_params'
@PierreRaybaut PierreRaybaut added the bug Something isn't working label Mar 7, 2025
@PierreRaybaut PierreRaybaut added this to the V0.18.2 milestone Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant