Changeset 05319e2 in sasview
- Timestamp:
- Mar 22, 2011 11:19:27 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:
- 71bd773
- Parents:
- 8956bdb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansview/perspectives/fitting/fitting.py
r66ff250 r05319e2 1193 1193 1194 1194 self.page_finder[page_id].set_theory_data(new_plot) 1195 theory_data = self.page_finder[page_id].get_theory_data()1196 1195 if data is None: 1197 name = "Data generates by Fitting " 1198 theory_data.name = name 1199 self.parent.add_data_helper({theory_data.id:theory_data}) 1200 data_id = theory_data.id 1196 data_id = new_plot.id 1201 1197 else: 1202 1198 data_id = data.id 1203 1199 1204 1200 self.parent.update_theory(data_id=data_id, 1205 theory= theory_data,1201 theory=new_plot, 1206 1202 state=state) 1207 1203 current_pg = self.fit_panel.get_page_by_id(page_id) … … 1280 1276 1281 1277 self.page_finder[page_id].set_theory_data(new_plot) 1282 theory_data = self.page_finder[page_id].get_theory_data()1283 1278 if data is None: 1284 name = "Data generates by Fitting " 1285 theory_data.name = name 1286 self.parent.add_data_helper({theory_data.id:theory_data}) 1287 data_id = theory_data.id 1279 data_id = new_plot.id 1288 1280 else: 1289 1281 data_id = data.id 1290 1282 self.parent.update_theory(data_id=data_id, 1291 theory= theory_data,1283 theory=new_plot, 1292 1284 state=state) 1293 1285 current_pg = self.fit_panel.get_page_by_id(page_id)
Note: See TracChangeset
for help on using the changeset viewer.