mantidproject / mantidimaging

Graphical toolkit for neutron imaging.
https://mantidproject.github.io/mantidimaging
GNU General Public License v3.0
13 stars 6 forks source link

Duplicate ROI names #2246

Closed samtygier-stfc closed 3 months ago

samtygier-stfc commented 3 months ago

Summary

It should not be possible to create ROIs with duplicate names. IMAT have found a case where duplicates do happen, which then cause further issues.

Steps To Reproduce

Open an imagestack in the spectrum viewer. Create some ROIs Open the Operations window Apply an operation to the image stack (e.g. Gaussian) Back in the spectum view add some more ROIs

Expected Behaviour

Image in spectrum viewer is updated by operation (e.g. it is blured) Names for new ROIs are still unique

Current Behaviour

Naming resets, and duplicate names are created.

Context

Current main