Changeset 665c083 in sasview for guiframe/data_manager.py
- Timestamp:
- Mar 15, 2011 2:35:15 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:
- 8ee56a9
- Parents:
- df22224
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
guiframe/data_manager.py
rdf22224 r665c083 219 219 del self.stored_data[data_id] 220 220 221 self.delete_theory( self,data_id, theory_id)221 self.delete_theory(data_id, theory_id) 222 222 if delete_all: 223 223 self.stored_data = {} … … 227 227 """ 228 228 """ 229 if data_id in self.stored_data: 230 data_state = self.stored_data[data_id] 231 theory_list = data_state.get_theory() 232 if theory_id in theory_list.key(): 233 del theory_list[theory_id] 229 for d_id in data_id: 230 if d_id in self.stored_data: 231 data_state = self.stored_data[d_id] 232 theory_list = data_state.get_theory() 233 if theory_id in theory_list.keys(): 234 del theory_list[theory_id] 234 235 235 236
Note: See TracChangeset
for help on using the changeset viewer.