Ignore:
Timestamp:
Aug 26, 2011 3:25:29 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
2c60cb69
Parents:
8285a93
Message:

fixed miscalculation of npts of data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    r8285a93 r4957b16  
    110110        if data_list: 
    111111            #find the maximum range covering all data 
    112             qmin, qmax, npts = self.compute_data_range(data_list[0]) 
     112            qmin, qmax, _ = self.compute_data_range(data_list[0]) 
    113113            self.qmin_data_set, self.qmax_data_set = qmin, qmax 
    114             self.npts_data_set = npts 
     114            self.npts_data_set = 0 
    115115        for data in self.data_list: 
    116116            if data is not None: 
Note: See TracChangeset for help on using the changeset viewer.