Ignore:
Timestamp:
Sep 20, 2012 1:22:02 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:
bda809e
Parents:
b71a53b
Message:

category stuffs start working in interp. environment

File:
1 edited

Legend:

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

    r7c720e9 rea5fa58  
    4444                      ["qmax", "qmax", "float"], 
    4545                      ["npts", "npts", "float"], 
    46                       ["shape_rbutton", "shape_rbutton", "bool"], 
    47                       ["shape_indep_rbutton", "shape_indep_rbutton", "bool"], 
    48                       ["plugin_rbutton", "plugin_rbutton", "bool"], 
    49                       ["struct_rbutton", "struct_rbutton", "bool"], 
     46                      #["shape_rbutton", "shape_rbutton", "bool"], 
     47                      #["shape_indep_rbutton", "shape_indep_rbutton", "bool"], 
     48                      #["plugin_rbutton", "plugin_rbutton", "bool"], 
     49                      #["struct_rbutton", "struct_rbutton", "bool"], 
     50                      ["categorycombobox", "categorycombobox", "string"], 
    5051                      ["formfactorcombobox", "formfactorcombobox", "string"], 
    5152                      ["structurecombobox", "structurecombobox", "string"], 
     
    224225        ## save selection of combobox 
    225226        self.formfactorcombobox = None 
     227        self.categorycombobox = None 
    226228        self.structurecombobox = None 
    227229 
    228230        ## radio box to select type of model 
    229         self.shape_rbutton = False 
    230         self.shape_indep_rbutton = False 
    231         self.struct_rbutton = False 
    232         self.plugin_rbutton = False 
     231        #self.shape_rbutton = False 
     232        #self.shape_indep_rbutton = False 
     233        #self.struct_rbutton = False 
     234        #self.plugin_rbutton = False 
    233235        ## the indice of the current selection 
    234236        self.disp_box = 0 
     
    281283        obj.engine_type = copy.deepcopy(self.engine_type) 
    282284         
     285        obj.categorycombobox = self.categorycombobox 
    283286        obj.formfactorcombobox = self.formfactorcombobox 
    284287        obj.structurecombobox = self.structurecombobox 
    285288         
    286         obj.shape_rbutton = self.shape_rbutton 
    287         obj.shape_indep_rbutton = self.shape_indep_rbutton 
    288         obj.struct_rbutton = self.struct_rbutton 
    289         obj.plugin_rbutton = self.plugin_rbutton 
     289        #obj.shape_rbutton = self.shape_rbutton 
     290        #obj.shape_indep_rbutton = self.shape_indep_rbutton 
     291        #obj.struct_rbutton = self.struct_rbutton 
     292        #obj.plugin_rbutton = self.plugin_rbutton 
    290293         
    291294        obj.manager = self.manager 
     
    380383        else: 
    381384            rep += "model name : None\n" 
    382         rep += "model type (form factor) selected: %s\n" % self.shape_rbutton  
     385        #rep += "model type (form factor) selected: %s\n" % self.shape_rbutton  
    383386        rep += "multi_factor : %s\n" % str(self.multi_factor) 
    384         rep += "model type (shape independent) selected: %s\n" % self.shape_indep_rbutton 
    385         rep += "model type (structure factor) selected: %s\n" % self.struct_rbutton 
    386         rep += "model type (plug-in ) selected: %s\n" % self.plugin_rbutton 
     387        rep += "model type (Category) selected: %s\n" % self.categorycombobox 
     388        #rep += "model type (shape independent) selected: %s\n" % self.shape_indep_rbutton 
     389        #rep += "model type (structure factor) selected: %s\n" % self.struct_rbutton 
     390        #rep += "model type (plug-in ) selected: %s\n" % self.plugin_rbutton 
    387391        rep += "data : %s\n" % str(self.data) 
    388392        rep += "Plotting Range: min: %s, max: %s, steps: %s\n" % (str(self.qmin), 
Note: See TracChangeset for help on using the changeset viewer.