Opened 7 years ago

Closed 7 years ago

#994 closed defect (fixed)

Error changing fit engine

Reported by: lewis Owned by:
Priority: major Milestone: SasView 4.2.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

If you run a fit that fails to converge, then try to change the fit engine to either DREAM or Differential Evolution.

To reproduce:
1) Load the dataset test/1d_data/latex_smeared.xml
2) Send latex_smeared.xml [1] to the fitting perspective
3) Choose the sphere model
4) Check all parameters for fitting, and set radius to 2000
5) Click fit, after a few seconds a message will be logged saying that the fit failed to converge (Note: this error doesn't appear in the UI #924)
6) Go to Fitting → Fit Options and choose DREAM or Differential Evolution
7) Click Fit

The attached error message is shown

Attachments (1)

ErrorMessage.PNG (21.8 KB) - added by lewis 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by lewis

comment:1 Changed 7 years ago by lewis


comment:2 Changed 7 years ago by krzywon

This has everything to do with how dxl and dxw data are loaded in. I've added a fix for this to PR94.

comment:3 Changed 7 years ago by krzywon

In 590b5c2d6751d6e04e3b397709a0afb2df05d119/sasview:

Load dxl and dxw data in the same way x, y, dx, and dy are to ensure array lengths are the same. refs #994

comment:4 Changed 7 years ago by krzywon

  • Resolution set to fixed
  • Status changed from new to closed

PR109 resolved this issue.

Note: See TracTickets for help on using tickets.