Changes in / [d76c43a:9804394] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/simfitpage.py
ra9f9ca4 rf73b47c 1073 1073 """ 1074 1074 1075 model_map = {} 1075 init_map = {} 1076 final_map = {} 1076 1077 if fit.fit_panel.sim_page is None: 1077 1078 fit.fit_panel.add_sim_page() … … 1087 1088 save_id = self._format_id(save_id) 1088 1089 if save_id == model_id: 1089 model_map[saved_model.pop('fit_page_source')] = \ 1090 model[3].name 1090 inter_id = str(i) + str(i) + str(i) + str(i) + str(i) 1091 init_map[saved_model.pop('fit_page_source')] = inter_id 1092 final_map[inter_id] = model[3].name 1091 1093 check = bool(saved_model.pop('checked')) 1092 1094 sim_page.model_list[i][0].SetValue(check) … … 1106 1108 param = item.pop('param_cbox') 1107 1109 equality = item.pop('egal_txt') 1108 for key, value in model_map.iteritems(): 1109 model_cbox.replace(key, value) 1110 constraint_value.replace(key, value) 1110 for key, value in init_map.items(): 1111 model_cbox = model_cbox.replace(key, value) 1112 constraint_value = constraint_value.replace(key, value) 1113 for key, value in final_map.items(): 1114 model_cbox = model_cbox.replace(key, value) 1115 constraint_value = constraint_value.replace(key, value) 1111 1116 1112 1117 sim_page.constraints_list[index][0].SetValue(model_cbox)
Note: See TracChangeset
for help on using the changeset viewer.