Changeset c399004 in sasview for sansview/perspectives/fitting
- Timestamp:
- Mar 10, 2011 5:32:53 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:
- c9937c0
- Parents:
- a5701e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
ra5701e6 rc399004 270 270 for data in selected_data_list: 271 271 self.add_fit_page(data=data) 272 273 272 wx.PostEvent(self.parent, NewPlotEvent(plot=data, 274 273 title=str(data.title))) … … 661 660 if group_id in theory_data.group_id: 662 661 theory_data.group_id.remove(group_id) 663 theory_data.group_id.append(wx.NewId()) 664 group_id = theory_data.group_id[len(theory_data.group_id)-1] 665 if group_id not in data.group_id: 666 data.group_id.append(group_id) 662 data_group_id = theory_data.group_id[len(theory_data.group_id)-1] 663 if data_group_id not in data.group_id: 664 data.group_id.append(data_group_id) 667 665 wx.PostEvent(self.parent, 668 666 NewPlotEvent(group_id=group_id, … … 1151 1149 theory_data = self.page_finder[id].get_theory_data() 1152 1150 if theory_data is not None: 1153 temp_id = theory_data.id 1154 new_plot.id = temp_id 1151 new_plot.id = theory_data.id 1155 1152 1156 1153 new_plot.name = model.name + " ["+ str(model.__class__.__name__)+ "]"
Note: See TracChangeset
for help on using the changeset viewer.