- Timestamp:
- Sep 29, 2008 6:34:23 AM (16 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guitools/fitDialog.py
r1c94a9f1 r4ab1c91 381 381 if float(usermin) < float(usermax): 382 382 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)) 384 384 else: 385 self.xminFit.SetValue(format_number( float(self.mini)))385 self.xminFit.SetValue(format_number(self.mini)) 386 386 387 387 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)) 389 389 else: 390 self.xmaxFit.SetLabel(format_number( float(self.maxi)))390 self.xmaxFit.SetLabel(format_number(self.maxi)) 391 391 392 392 mini =float(self.xminFit.GetValue()) … … 427 427 428 428 elif (self.xLabel=="log10(x)" ): 429 print "fitdialog: x",x 429 430 return math.pow(10, x) 430 431
Note: See TracChangeset
for help on using the changeset viewer.