Changeset 5425990 in sasview for sansguiframe
- Timestamp:
- Oct 3, 2011 5:38:47 AM (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:
- 7bd6cfae
- Parents:
- a84ca2a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_processor.py
ra84ca2a r5425990 23 23 "pow": "math.sqrt"} 24 24 25 class BatchCell: 26 """ 27 Object describing a cell in the grid. 28 29 """ 30 def __init__(self): 31 self.label = "" 32 self.value = None 33 self.col = -1 34 self.row = -1 35 self.object = None 36 25 37 26 38 def parse_string(sentence, list): … … 322 334 323 335 for value in value_list: 324 self.SetCellValue(cell_row, cell_col, str(value)) 336 label = value 337 if issubclass(value.__class__, BatchCell): 338 label = value.label 339 self.SetCellValue(cell_row, cell_col, str(label)) 325 340 cell_row += 1 326 341 cell_col += 1
Note: See TracChangeset
for help on using the changeset viewer.