Changes in / [b9cc210:db24ec1] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/fitting/basepage.py
r5ae083b rb4398819 2884 2884 self.magnetic_on = True 2885 2885 button.SetLabel("Magnetic OFF") 2886 m_value = 1 2886 m_value = 1.0e-06 2887 2887 for key in self.model.magnetic_params: 2888 2888 if key.count('M0') > 0: 2889 2889 self.model.setParam(key, m_value) 2890 m_value += 0.5 2890 m_value += 0.5e-06 2891 2891 else: 2892 2892 self.magnetic_on = False … … 2950 2950 Get the string copies of the param names and values in the tap 2951 2951 """ 2952 content = 'sasview_parameter_values ;'2952 content = 'sasview_parameter_values:' 2953 2953 # Do it if params exist 2954 2954 if self.parameters: … … 3212 3212 logger.error(traceback.format_exc()) 3213 3213 content += name + ',' + str(check) + ',' + value + disfunc + ',' + \ 3214 bound_lo + ',' + bound_hi + ' ;'3214 bound_lo + ',' + bound_hi + ':' 3215 3215 3216 3216 return content … … 3251 3251 context = {} 3252 3252 # put the text into dictionary 3253 lines = text.split(' ;')3253 lines = text.split(':') 3254 3254 if lines[0] != 'sasview_parameter_values': 3255 3255 self._copy_info(False)
Note: See TracChangeset
for help on using the changeset viewer.