Changeset 9a22655 in sasview for sansview/perspectives/fitting


Ignore:
Timestamp:
Mar 25, 2011 6:34:08 PM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
e52865f
Parents:
46bf3b1
Message:

working on plugin update

Location:
sansview/perspectives/fitting
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sansview/perspectives/fitting/fitpage.py

    r0806def r9a22655  
    997997        call back for model selection 
    998998        """   
     999        if self.plugin_rbutton.GetValue(): 
     1000            self._show_combox_helper() 
     1001            print "went here" 
     1002             
    9991003        self._on_select_model_helper()  
    10001004        self.set_model_param_sizer(self.model)                    
  • sansview/perspectives/fitting/models.py

    rb2d9826 r9a22655  
    4343    #Check is the plugin is of type Model1DPlugin 
    4444    if not issubclass(model, Model1DPlugin): 
    45         msg= "Plugin %s must be of type Model1DPlugin \n"%str(name) 
     45        msg = "Plugin %s must be of type Model1DPlugin \n"%str(name) 
    4646        log(msg) 
    4747        return None 
     
    8282    try: 
    8383        list = os.listdir(dir) 
     84        #always recompile the folder plugin 
     85        import compileall 
     86        compileall.compile_dir(dir, force=1) 
    8487        for item in list: 
    8588            toks = os.path.splitext(os.path.basename(item)) 
Note: See TracChangeset for help on using the changeset viewer.