Changeset 6c88acd in sasview
- Timestamp:
- Jun 13, 2012 7:13:06 PM (13 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:
- 6f65614
- Parents:
- e6f0020
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/data_operator.py
r365aa1ed r6c88acd 300 300 try: 301 301 float(data2) 302 if self.operator_cbox.GetLabel().strip() == '|': 303 msg = "DataOperation: This operation can not accept " 304 msg += "a float number." 305 self.send_warnings(msg, 'error') 306 self.numberctr.SetBackgroundColour('pink') 307 self.output = None 308 return flag 302 309 except: 303 310 msg = "DataOperation: Number requires a float number." … … 519 526 """ 520 527 521 def send_warnings(self, msg='', info=' '):528 def send_warnings(self, msg='', info='info'): 522 529 """ 523 530 Send warning to status bar -
sansguiframe/src/sans/guiframe/dataFitting.py
ra48842a2 r6c88acd 376 376 q_data=None, err_image=None, xmin=None, xmax=None, 377 377 ymin=None, ymax=None, zmin=None, zmax=None) 378 result.clone_without_data( len(self.data),self)378 result.clone_without_data(self) 379 379 result.copy_from_datainfo(data2d=self) 380 380 result.xmin = self.xmin
Note: See TracChangeset
for help on using the changeset viewer.