Changeset 4ab1c91 in sasview for guitools


Ignore:
Timestamp:
Sep 29, 2008 6:34:23 AM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
00561739
Parents:
925155f
Message:

removing redondant code.log10 x bugging for linear fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • guitools/fitDialog.py

    r1c94a9f1 r4ab1c91  
    381381        if float(usermin) < float(usermax): 
    382382            if float(usermin) >= float(self.mini) and float(usermin) < float(self.maxi): 
    383                 self.xminFit.SetValue(format_number(float(usermin))) 
     383                self.xminFit.SetValue(format_number(usermin)) 
    384384            else: 
    385                 self.xminFit.SetValue(format_number(float(self.mini))) 
     385                self.xminFit.SetValue(format_number(self.mini)) 
    386386                 
    387387            if float(usermax) > float(self.mini) and float(usermax) <= float(self.maxi): 
    388                 self.xmaxFit.SetLabel(format_number(float(usermax))) 
     388                self.xmaxFit.SetLabel(format_number(usermax)) 
    389389            else: 
    390                 self.xmaxFit.SetLabel(format_number(float(self.maxi))) 
     390                self.xmaxFit.SetLabel(format_number(self.maxi)) 
    391391                 
    392392            mini =float(self.xminFit.GetValue()) 
     
    427427         
    428428        elif (self.xLabel=="log10(x)" ): 
     429            print "fitdialog: x",x 
    429430            return math.pow(10, x) 
    430431         
Note: See TracChangeset for help on using the changeset viewer.