Skip to content
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

Refactored set_new_roi into the presenter.py #2451

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Conversation

ashleymeigh2
Copy link
Collaborator

@ashleymeigh2 ashleymeigh2 commented Jan 8, 2025

Issue

Work on #2297

Description

Set_roi removed from model
refactored presenter to no longer use set_new_roi from model

Testing

Updated unit tests to verify correct renaming behavior and proper exceptions for invalid operations.
Manually tested renaming ROIs in the UI to ensure changes are reflected correctly.

Copy link
Collaborator

@samtygier-stfc samtygier-stfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also a yapf issue that needs resolving

mantidimaging/gui/windows/spectrum_viewer/presenter.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@samtygier-stfc samtygier-stfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@samtygier-stfc samtygier-stfc added this pull request to the merge queue Jan 9, 2025
Merged via the queue into main with commit 3f099d2 Jan 9, 2025
8 checks passed
@samtygier-stfc samtygier-stfc deleted the 2297_set_new_roi branch January 9, 2025 16:19
@coveralls
Copy link

Coverage Status

coverage: 73.622% (-0.001%) from 73.623%
when pulling 165971f on 2297_set_new_roi
into 6454a32 on main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants