Changeset 68a921f in sasview for fittingview/src/sans/perspectives
- Timestamp:
- Oct 3, 2011 3:28:36 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:
- f64a4b7
- Parents:
- 3fb5e68
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
ra6d3553 r68a921f 2881 2881 # go through the str params 2882 2882 for item in param: 2883 disfunc = '' 2884 try: 2885 if item[7].__class__.__name__ == 'ComboBox': 2886 disfunc = item[7].GetLabel() 2887 except: 2888 disfunc = '' 2889 pass 2883 2890 # 2D 2884 2891 if self.data.__class__.__name__== "Data2D": … … 2891 2898 name = item[1] 2892 2899 value = item[2].GetValue() 2900 else: 2901 disfunc = '' 2893 2902 # add to the content 2894 content += name + ',' + value + ':' 2895 2903 if disfunc != '': 2904 disfunc = ',' + disfunc 2905 content += name + ',' + value + disfunc + ':' 2906 2896 2907 return content 2897 2908 … … 2940 2951 # Transfer the text to content[dictionary] 2941 2952 context[name] = value 2942 2953 # ToDo: PlugIn this poly disp function for pasting 2954 if len(line) == 3: 2955 poly_func = item[2] 2956 else: 2957 poly_func = None 2943 2958 # Do it if params exist 2944 2959 if self.parameters != []:
Note: See TracChangeset
for help on using the changeset viewer.