Changeset f9feff3 in sasview


Ignore:
Timestamp:
Jan 22, 2012 4:22:45 PM (12 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:
82b0b6a7
Parents:
e499ca0
Message:

cleaned up a little

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • calculatorview/src/sans/perspectives/calculator/model_editor.py

    re499ca0 rf9feff3  
    473473        # Prepare the content of the function 
    474474        lines = CUSTOM_TEMPLATE.split('\n') 
    475         im_np = 'import numpy' 
    476         im_sp = 'import scipy' 
    477         if func_str.count(im_np): 
    478             func_str = func_str.replace(im_np, '') 
    479         if func_str.count(im_sp): 
    480             func_str = func_str.replace(im_sp, '') 
     475 
    481476        has_scipy = func_str.count("scipy.") 
    482477        self.is_2d = func_str.count("#self.ndim = 2") 
  • fittingview/src/sans/perspectives/fitting/fitpage.py

    rd2c4c06 rf9feff3  
    10661066 
    10671067            return 
     1068        """ 
    10681069        if not self.data.is_data: 
    10691070            self.npts_x = self.Npts_total.GetValue() 
    10701071            self.Npts_fit.SetValue(self.npts_x) 
    10711072            self.create_default_data()  
     1073        """ 
    10721074        flag = self._update_paramv_on_fit()   
    10731075     
Note: See TracChangeset for help on using the changeset viewer.