-
Notifications
You must be signed in to change notification settings - Fork 41
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
Conversion routines for reparameterized models not used in 5.x #1902
Comments
A related problem just discovered while testing sasmodels #458 is that the project loader no longer loads 4.x projects at all! Instead it reports the error:
|
@butlerpd Could you attach a project that is failing for you? I've attached a simple sphere fit that I generated using v4.2.2 that loads when running from the sasview main and sasmodels master branches. Edit: I tested loading this project using both the BroadPeak model reparameterization branch as well as master and both branches are successful in loading it. Perhaps this is an issue with the broad peak? |
did you try this with the installer version of main? it may be that there is a dependency issue? |
This needs to be addressed before the next release or broad peak model may now break things sasmodels#458 |
Models that have their model parameters changed in 5.x are not run through the model conversion routines found in sasmodels/convert.py. This is causing a problem with sasmodels PR #458. This conversion is implemented in v4.x master: sasview/pagestate.py.
The conversion methods are available in the main branch but will need to be called while loading a fit project. A good place to do this might be in FittingWidget.updateParamsWithParameters().
The text was updated successfully, but these errors were encountered: