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

2356 correct behaviour add all constraints #2728

Closed

Conversation

gonzalezma
Copy link
Contributor

Description

Modifies the behaviour of the Complex Constraint Add All button in the way that seems more logical/intuitive TO ME. All fittable (including polydisperse) parameters in two fitting pages are constrained, while the fixed parameters are ignored.

Previously one had the following:
image

And with the proposed change one gets:
image

Fixes # 2356

How Has This Been Tested?

Tested locally with two sets of data fitted by a core-shell model where radius and thickness are polydispersed and polydispersity is fittable, while the SLDs are different.

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)
  • User documentation is available and complete (if required)
  • Developers documentation is available and complete (if required)
  • The introduced changes comply with SasView license (BSD 3-Clause)

@gonzalezma gonzalezma added Defect Bug or undesirable behaviour Contraints Issues pertaining to constraints labels Jan 17, 2024
@gonzalezma
Copy link
Contributor Author

Closing as branch merged with #2355

@gonzalezma gonzalezma closed this Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contraints Issues pertaining to constraints Defect Bug or undesirable behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants