Changeset d7f727d in sasview
- Timestamp:
- Mar 16, 2011 3:32:22 PM (14 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:
- 3658717e
- Parents:
- 27f4bee
- Location:
- guiframe
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_manager.py
r665c083 rd7f727d 204 204 self.stored_data[new_theory.id] = selected_theory[new_theory.id] 205 205 else: 206 msg = "Theory with ID %s " % str(t heory_id)206 msg = "Theory with ID %s " % str(t_id) 207 207 msg += "couldn't not be frozen" 208 208 raise ValueError, msg -
guiframe/data_panel.py
r665c083 rd7f727d 457 457 i_t_c = self.tree_ctrl.AppendItem(t_p_c, 458 458 process.__str__()) 459 t_child.Bind(wx.EVT_TREE_CHECK, self.check_item)460 459 theory_list_ctrl[theory_id] = [t_child, 461 460 i_c_c, -
guiframe/gui_manager.py
r665c083 rd7f727d 1345 1345 send a list of data to plot 1346 1346 """ 1347 total_plot_list = [] 1347 1348 data_list, _ = self._data_manager.get_by_id(data_id) 1348 1349 _, temp_list_theory = self._data_manager.get_by_id(theory_id) 1350 total_plot_list = data_list.values() 1349 1351 for item in temp_list_theory.values(): 1350 1352 theory_data, theory_state = item 1351 data_list.values().append(theory_data)1353 total_plot_list.append(theory_data) 1352 1354 GROUP_ID = wx.NewId() 1353 for new_plot in data_list:1355 for new_plot in total_plot_list: 1354 1356 if append: 1355 1357 if self.panel_on_focus is None: … … 1374 1376 title=title)) 1375 1377 1376 1377 1378 1378 def remove_data(self, data_id, theory_id=None): 1379 1379 """ -
guiframe/local_perspectives/plotting/Plotter1D.py
rdf22224 rd7f727d 153 153 #onRemove: graph is empty must be the panel must be destroyed 154 154 self.parent.delete_panel(self.uid) 155 else:156 msg = "Attempt to remove an unexisting plot with ID %s " % str(id)157 raise ValueError, msg158 155 159 156 def plot_data(self, data):
Note: See TracChangeset
for help on using the changeset viewer.