Opened 8 years ago

Closed 8 years ago

#811 closed defect (fixed)

Problem loading test data SILIC010.DAT

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

Description

When trying to load SILIC010.DAT an error occurs:
"""
Fitting set_data: total size of new array must be unchanged.
"""

As a consequence (I guess) fitting cannot be performed:

File "src/sas/sasgui/perspectives/fitting/fitpage.py", line 1031, in _onFit

flag = self._update_paramv_on_fit()

File "src/sas/sasgui/perspectives/fitting/basepage.py", line 1554, in _update_paramv_on_fit

flag = self._validate_Npts()

File "src/sas/sasgui/perspectives/fitting/basepage.py", line 2146, in _validate_Npts

self.Npts_fit.SetValue?(str(len(index_data[index_data is True])))

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

Change History (8)

comment:1 Changed 8 years ago by wojciech

  • Summary changed from Problem loading fitting to test data to Problem loading test data SILIC010.DAT

comment:2 Changed 8 years ago by smk78

  • Owner set to krzywon
  • Status changed from new to assigned

comment:3 Changed 8 years ago by smk78

Works in 3.1.2

comment:4 Changed 8 years ago by krzywon

  • Owner changed from krzywon to pkienzle

After working with Paul K, we found the sasmodels 2D resolution calculator is broken. He said I should pass this ticket to him.

comment:5 Changed 8 years ago by smk78

Also see #825

comment:6 Changed 8 years ago by Paul Kienzle <pkienzle@…>

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

In d3911e3cf881d888113c59010d5c63db40c0181b/sasview:

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

comment:7 Changed 8 years ago by pkienzle

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:8 Changed 8 years ago by pkienzle

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