Changeset 277257f in sasview for src/sas/sascalc/fit/pagestate.py
- Timestamp:
- Jul 5, 2017 5:28:55 PM (7 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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 1386b2f
- Parents:
- 251ef684
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sascalc/fit/pagestate.py
rba8d326 r277257f 225 225 # contains link between a model and selected parameters to fit 226 226 self.param_toFit = [] 227 # dictionary of model type and model class228 self.model_list_box = None229 227 # save the state of the context menu 230 228 self.saved_states = {} … … 288 286 obj.data_name = self.data_name 289 287 obj.is_data = self.is_data 290 obj.model_list_box = copy.deepcopy(self.model_list_box)291 288 292 289 obj.categorycombobox = self.categorycombobox … … 967 964 # Get file name 968 965 entry = get_content('ns:filename', node) 969 if entry is not None :966 if entry is not None and entry.text: 970 967 self.file = entry.text.strip() 968 else: 969 self.file = '' 971 970 972 971 # Get time stamp
Note: See TracChangeset
for help on using the changeset viewer.