Skip to content

Pairwise operation mode: unexpected behavior with functions that take a single second operand #157

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 Apr 5, 2025 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@PierreRaybaut
Copy link
Contributor

PierreRaybaut commented Apr 5, 2025

Pairwise operation mode:

  • Unexpected behavior when using the pairwise operation mode with functions that take a single second operand (e.g. for images: difference, division, arithmetic operations, and flatfield correction)
  • If only one set of operands is selected in a single group, a warning message is displayed "In pairwise mode, you need to select objects in at least two groups.", which is correct for functions that are symmetric (e.g. addition, multiplication, etc.), but not for functions that are not symmetric (e.g. difference, division, etc.).
  • The warning message should only displayed for functions that are symmetric (e.g. addition, multiplication, etc.).
@PierreRaybaut PierreRaybaut added the bug Something isn't working label Apr 5, 2025
@PierreRaybaut PierreRaybaut added this to the V0.19.1 milestone Apr 5, 2025
PierreRaybaut added a commit that referenced this issue Apr 5, 2025
…t take a single second operand

Fix #157

(cherry picked from commit 619112b)

# Conflicts:
#	doc/locale/fr/LC_MESSAGES/api/core.gui/processor.po
#	doc/locale/fr/LC_MESSAGES/contributing/changelog.po
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