Ignore:
Timestamp:
Apr 15, 2009 10:39:38 AM (15 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:
aa1e9a72
Parents:
27c5c26
Message:

fixed the first or last points missing from calculations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/modelpage.py

    r27c5c26 rb5e98540  
    396396         
    397397        # Set the controls 
     398        #For qmin and qmax, do not use format_number.(If do, qmin and max could be different from what is in the data.) 
     399        """ 
    398400        self.qmin.SetValue(format_number(self.qmin_x)) 
    399401        self.qmax.SetValue(format_number(self.qmax_x)) 
     402        self.npts.SetValue(format_number(self.num_points)) 
     403        """ 
     404        self.qmin.SetValue((self.qmin_x)) 
     405        self.qmax.SetValue((self.qmax_x)) 
    400406        self.npts.SetValue(format_number(self.num_points)) 
    401407         
Note: See TracChangeset for help on using the changeset viewer.