Skip to content

Add overload to PowderPattern.GetOption binding to accept option name - #134

Open
clemisch wants to merge 1 commit into
diffpy:mainfrom
clemisch:getoption-by-name
Open

clemisch wants to merge 1 commit into
diffpy:mainfrom
clemisch:getoption-by-name

Conversation

@clemisch

@clemisch clemisch commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Needed for new objcryst RefObjOpt to deactivate unconstrained LSTSQ fit of all phase scales.

After vincefn/objcryst#111, use like

pp.GetOption("Fit Scale Factors at Beginning of Optimization").SetChoice("No")

This PR only adds a binding though, it doesn't change any options. Default behavior for the scale fit is still "Yes" to keep current behavior.

needed for new objcryst RefObjOpt to deactivate unconstrained LSTSQ fit
of all phase scales
@clemisch

Copy link
Copy Markdown
Contributor Author

Tests fail until new objcryst is pinned/used

This branch has not been deployed

No deployments
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.

1 participant