Changeset 480fe4f in sasview for fittingview/src


Ignore:
Timestamp:
May 24, 2012 6:32:47 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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
Message:

another pylint cleanup 6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fittingview/src/sans/perspectives/fitting/basepage.py

    rfcd6c6a r480fe4f  
    13291329            # it will be sent as a string here, then converted to model object. 
    13301330            if disp.__class__.__name__ == 'str': 
     1331                disp_model = None 
    13311332                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()" 
    13331334                exec com_str % disp 
    1334                 disp_model = disp_func() 
    13351335            else: 
    13361336                disp_model = disp 
    1337  
    13381337            self._disp_obj_dict[key] = disp_model 
    13391338            param_name = key.split('.')[0] 
Note: See TracChangeset for help on using the changeset viewer.