Changeset 480fe4f in sasview for fittingview/src
- Timestamp:
- May 24, 2012 6:32:47 PM (12 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:
- 724897ad
- Parents:
- fcd6c6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
rfcd6c6a r480fe4f 1329 1329 # it will be sent as a string here, then converted to model object. 1330 1330 if disp.__class__.__name__ == 'str': 1331 disp_model = None 1331 1332 com_str = "from sans.models.dispersion_models " 1332 com_str += "import %s as disp_func "1333 com_str += "import %s as disp_func \ndisp_model = disp_func()" 1333 1334 exec com_str % disp 1334 disp_model = disp_func()1335 1335 else: 1336 1336 disp_model = disp 1337 1338 1337 self._disp_obj_dict[key] = disp_model 1339 1338 param_name = key.split('.')[0]
Note: See TracChangeset
for help on using the changeset viewer.