Changeset fd5ac0d in sasview for src/sas/perspectives/fitting


Ignore:
Timestamp:
Feb 13, 2015 5:26:52 AM (10 years ago)
Author:
krzywon
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:
7a04dbb
Parents:
b9a5f0e
Message:

I have completed the removal of all SANS references.
I will build, run, and run all unit tests before pushing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/perspectives/fitting/fitting.py

    rb9a5f0e rfd5ac0d  
    5151 
    5252MAX_NBR_DATA = 4 
    53 SANS_F_TOL = 5e-05 
     53SAS_F_TOL = 5e-05 
    5454 
    5555(PageInfoEvent, EVT_PAGE_INFO) = wx.lib.newevent.NewEvent() 
     
    9494        self._gui_engine = None 
    9595        ## Relative error desired in the sum of squares (float); scipy only 
    96         self.ftol = SANS_F_TOL 
     96        self.ftol = SAS_F_TOL 
    9797        self.batch_reset_flag = True 
    9898        #List of selected data 
     
    291291                msg += "Please manually remove the files (.py, .pyc) " 
    292292                msg += "in the 'plugin_models' folder \n" 
    293                 msg += "inside of the SansView application, " 
     293                msg += "inside of the SasView application, " 
    294294                msg += "and try it again." 
    295295                wx.MessageBox(msg, 'Info') 
     
    817817        except: 
    818818            # default 
    819             f_tol = SANS_F_TOL 
     819            f_tol = SAS_F_TOL 
    820820             
    821821        self.ftol = f_tol 
     
    13731373                if model is not None and hasattr(model, "model"): 
    13741374                    model = model.model 
    1375                 if data is not None and hasattr(data, "sans_data"): 
    1376                     data = data.sans_data 
     1375                if data is not None and hasattr(data, "sas_data"): 
     1376                    data = data.sas_data 
    13771377                 
    13781378                is_data2d = issubclass(data.__class__, Data2D) 
Note: See TracChangeset for help on using the changeset viewer.