Opened 7 years ago

Closed 7 years ago

#825 closed defect (fixed)

2D Data Fitting is not working in Dev Builds

Reported by: smk78 Owned by: pkienzle
Priority: blocker Milestone: SasView 4.1.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Having pulled and built SasView locally on Win7, both Richard & I find we can load 2D data and display it, but if you send it to fitting and try and select a model nothing happens! No fit parameters appear.

The program reports 'Data contains no smearing information' and indeed no smearing buttons are checked.

Console reports:

$ python run.py
Traceback (most recent call last):

File "C:\sasview-code\sasview\src\sas\sasgui\perspecti

self._set_smear(self.data)

File "C:\sasview-code\sasview\src\sas\sasgui\perspecti

self.onSmear(None)

File "C:\sasview-code\sasview\src\sas\sasgui\perspecti

self._update_paramv_on_fit()

File "C:\sasview-code\sasview\src\sas\sasgui\perspecti

flag = self._validate_Npts()

File "C:\sasview-code\sasview\src\sas\sasgui\perspecti

self.Npts_fit.SetValue(str(len(index_data[index_data

TypeError: object of type 'numpy.bool_' has no len()

Change History (5)

comment:1 Changed 7 years ago by smk78

Also see #811

comment:2 Changed 7 years ago by Paul Kienzle <pkienzle@…>

  • Owner set to Paul Kienzle <pkienzle@…>
  • Resolution set to fixed
  • Status changed from new to closed

In d3911e3cf881d888113c59010d5c63db40c0181b/sasview:

Reproduce sasview smear 2D wrapper so 2D fits work. Fixes #811, #825.

comment:3 Changed 7 years ago by pkienzle

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:4 Changed 7 years ago by butler

  • Owner changed from Paul Kienzle <pkienzle@…> to pkienzle
  • Status changed from reopened to assigned

comment:5 Changed 7 years ago by pkienzle

  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.