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

Fixed unmatched method signatures in Box&Wedge Interactor child classes #2589

Merged

Conversation

ehewins
Copy link
Contributor

@ehewins ehewins commented Aug 17, 2023

Description

This commit fixes the mismatch between the _post_data method signatures in BoxInteractor and WedgeInteractor and their child classes. It also removes an unnecessary argument from one _post_data call, as it only sets a parameter to its default value. This fixes an error that occurs when the 'fold' setting is changed in Box Interactor X and Box Interactor Y's Slicer Parameters menu.

Fixes #2588

How Has This Been Tested?

The check-box can now be checked and un-checked without causing the error, and the plot updates accordingly.

Review Checklist (please remove items if they don't apply):

  • Code has been reviewed
  • Functionality has been tested
  • Windows installer (GH artifact) has been tested (installed and worked)
  • MacOSX installer (GH artifact) has been tested (installed and worked)

@wpotrzebowski wpotrzebowski added the Discuss At The Call Issues to be discussed at the fortnightly call label Sep 4, 2023
@lucas-wilkins
Copy link
Contributor

@wpotrzebowski What did we say was needed here?

@lucas-wilkins
Copy link
Contributor

Did we just say we'd close it as it has been superceded? @ehewins @wpotrzebowski

@ehewins
Copy link
Contributor Author

ehewins commented Sep 11, 2023

Nope @lucas-wilkins , the PR which needed closing already has been closed. This one should be merged please.

@wpotrzebowski wpotrzebowski added Discuss At The Call Issues to be discussed at the fortnightly call and removed Discuss At The Call Issues to be discussed at the fortnightly call labels Sep 12, 2023
@wpotrzebowski
Copy link
Contributor

It is not related to this PR but I noticed that labels on the plot for the initial values of slicers are difficult to read. (I've been testing on Mac).
Screenshot 2023-09-12 at 13 08 10

@wpotrzebowski
Copy link
Contributor

@astellhorn will take a look on it

@wpotrzebowski wpotrzebowski removed the Discuss At The Call Issues to be discussed at the fortnightly call label Sep 12, 2023
@astellhorn
Copy link
Contributor

See comments issue #2570
Also in the Windows GUI the axis fond problems are still persisting for the wedge slicer, readability depends on the chosen axis range

@wpotrzebowski wpotrzebowski merged commit 9c55154 into main Sep 12, 2023
36 checks passed
@wpotrzebowski wpotrzebowski deleted the 2588-fixing-BoxInteractor-method-signature-mismatch branch September 12, 2023 14:46
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.

Can't change fold setting for Box Interactor X/Y
4 participants