Skip to content

Solves polydispersity 2D bug#3855

Merged
krzywon merged 1 commit intomainfrom
2d_bugfix
Feb 2, 2026
Merged

Solves polydispersity 2D bug#3855
krzywon merged 1 commit intomainfrom
2d_bugfix

Conversation

@DrPaulSharp
Copy link
Copy Markdown
Contributor

Description

This PR fixes the bug introduced in SasView 6.1.0 where orientation parameters were not available in the polydispersity tab when the 2D view checkbox was checked. In SasView 6.1.x, only volume parameters were available regardless of the state of the 2D view checkbox.

How Has This Been Tested?

Using a cylinder model I checked and unchecked the polydispersity and 2d view checkboxes and found that the orientation parameters appear/disappear from the polydispersity tab as expected.

Review Checklist:

[if using the editor, use [x] in place of [ ] to check a box]

Documentation (check at least one)

  • There is nothing that needs documenting
  • Documentation changes are in this PR
  • There is an issue open for the documentation (link?)

Installers

  • There is a chance this will affect the installers, if so
    • Windows installer (GH artifact) has been tested (installed and worked)
    • MacOSX installer (GH artifact) has been tested (installed and worked)
    • Wheels installer (GH artifact) has been tested (installed and worked)

Licensing (untick if necessary)

  • The introduced changes comply with SasView license (BSD 3-Clause)

Copy link
Copy Markdown
Member

@rozyczko rozyczko left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this! Another leftover from the Fitting widget refactoring exercise...

Code looks good, functionality indeed is fixed.

@DrPaulSharp
Copy link
Copy Markdown
Contributor Author

Thanks for the review @rozyczko, I'll wait until my colleague who raised this is happy before merging.

Copy link
Copy Markdown
Member

@jellybean2004 jellybean2004 left a comment

Choose a reason for hiding this comment

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

Fiddled around with the UI; it seems to work as expected.

@krzywon krzywon merged commit da13a33 into main Feb 2, 2026
48 checks passed
@krzywon krzywon deleted the 2d_bugfix branch February 2, 2026 14:40
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