Ignore:
File:
1 edited

Legend:

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

    rc1c14ba rf21d496  
    5454    DEFAULT_DMAX = 140.0 
    5555 
    56     def __init__(self, standalone=True): 
    57         PluginBase.__init__(self, name="Pr Inversion", standalone=standalone) 
     56    def __init__(self): 
     57        PluginBase.__init__(self, name="Pr Inversion") 
    5858        ## Simulation window manager 
    5959        self.simview = None 
     
    9494        ## Number of P(r) points to display on the output plot 
    9595        self._pr_npts = 51 
    96         ## Flag to let the plug-in know that it is running standalone 
    97         self.standalone = standalone 
    9896        self._normalize_output = False 
    9997        self._scale_output_unity = False 
     
    623621            return [] 
    624622        elif item.id == graph.selected_plottable: 
    625             if not self.standalone and issubclass(item.__class__, Data1D): 
     623            if issubclass(item.__class__, Data1D): 
    626624                return [["Compute P(r)", 
    627625                         "Compute P(r) from distribution", 
     
    12381236        self.frame = MDIFrame(self.parent, None, 'None', (100, 200)) 
    12391237        self.control_panel = InversionControl(self.frame, -1, 
    1240                                               style=wx.RAISED_BORDER, 
    1241                                               standalone=self.standalone) 
     1238                                              style=wx.RAISED_BORDER) 
    12421239        self.frame.set_panel(self.control_panel) 
    12431240        self._frame_set_helper() 
     
    13171314            [Somehow openGL needs this call] 
    13181315        """ 
    1319         if self.standalone: 
    1320             self.parent.set_perspective(self.perspective) 
     1316        pass 
Note: See TracChangeset for help on using the changeset viewer.