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

Immediate updates to score selection for tally plotting #135

Merged
merged 2 commits into from
Feb 20, 2024

Conversation

paulromano
Copy link
Contributor

Right now when you are plotting tallies, if your tally has multiple scores and you want to select a different one, you have to deselect the currently selected one, hit apply, and then select a new one. The changes in this PR make it so that when you deselect a score, it immediately updates which checkboxes are active so that you don't have to hit apply in between. I also changed some of the special logic around the 'total' score which, in my opinion, just complicated things more.

Copy link
Collaborator

@pshriwise pshriwise left a comment

Choose a reason for hiding this comment

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

Thanks @paulromano! I agree that this cleans up the logic around scores considerably.

@pshriwise pshriwise merged commit e772fb9 into openmc-dev:develop Feb 20, 2024
1 check passed
@paulromano paulromano deleted the scorebox-fixes branch February 20, 2024 17:43
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.

2 participants