Changeset 10675c3 in sasview
- Timestamp:
- Sep 8, 2011 4:40:16 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:
- 2e08a9f
- Parents:
- 36288ca
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/src/sans/guiframe/data_processor.py
r904830e r10675c3 183 183 self.AppendRows(new_row_nbr, True) 184 184 # add data to the grid 185 label_row = 0185 row = 0 186 186 for index in range(nbr_user_cols): 187 col = index 187 188 # use the first row of the grid to add user defined labels 188 self.SetCellValue( label_row, index, str(self.col_names[index]))189 self.SetCellValue(row, col, str(self.col_names[index])) 189 190 col = 0 190 191 for value_list in self.data.values(): 191 for row in range(1, len(value_list)): 192 self.SetCellValue(row, col, str(value_list[row])) 192 row = 1 193 for index in range(len(value_list)): 194 self.SetCellValue(row, col, str(value_list[index])) 195 row += 1 193 196 col += 1 194 197 self.AutoSize()
Note: See TracChangeset
for help on using the changeset viewer.