Ignore:
Timestamp:
Nov 15, 2017 4:33:09 AM (7 years ago)
Author:
Piotr Rozyczko <rozyczko@…>
Branches:
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
Children:
d4881f6a
Parents:
7c487846
Message:

Initial commit of the P(r) inversion perspective.
Code merged from Jeff Krzywon's ESS_GUI_Pr branch.
Also, minor 2to3 mods to sascalc/sasgui to enble error free setup.

File:
1 edited

Legend:

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

    • Property mode changed from 100644 to 100755
    r959eb01 rfa81e94  
    3535from sas.sasgui.plottools.plottables import Graph 
    3636 
    37 from pr_widgets import PrTextCtrl 
     37from .pr_widgets import PrTextCtrl 
    3838 
    3939# Default number of points on the output plot 
     
    331331        selection_msg = wx.StaticText(self, -1, "Select a dependent variable:") 
    332332        self.output_box = wx.ComboBox(self, -1, style=wx.CB_READONLY) 
    333         for item in self.results.outputs.keys(): 
     333        for item in list(self.results.outputs.keys()): 
    334334            self.output_box.Append(item, "") 
    335335        self.output_box.SetStringSelection(DEFAULT_OUTPUT) 
     
    419419                # This inversion failed, skip this D_max value 
    420420                msg = "ExploreDialog: inversion failed " 
    421                 msg += "for D_max=%s\n%s" % (str(d), sys.exc_value) 
     421                msg += "for D_max=%s\n%s" % (str(d), sys.exc_info()[1]) 
    422422                logger.error(msg) 
    423423 
Note: See TracChangeset for help on using the changeset viewer.