Changeset 80013a6 in sasmodels
- Timestamp:
- Sep 12, 2016 12:40:05 PM (8 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 41e7f2e
- Parents:
- 2e49f9e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r424fe00 r80013a6 958 958 from bumps.gui.app_frame import AppFrame # type: ignore 959 959 960 is_mac = "cocoa" in wx.version() 961 # Create an app if not running embedded 962 app = wx.App() if wx.GetApp() is None else None 960 963 problem = FitProblem(Explore(opts)) 961 is_mac = "cocoa" in wx.version() 962 app = wx.App() 963 frame = AppFrame(parent=None, title="explore") 964 frame = AppFrame(parent=None, title="explore", size=(1000,700)) 964 965 if not is_mac: frame.Show() 965 966 frame.panel.set_model(model=problem) … … 967 968 frame.panel.aui.Split(0, wx.TOP) 968 969 if is_mac: frame.Show() 969 app.MainLoop() 970 # If running withing an app, start the main loop 971 if app: app.MainLoop() 970 972 971 973 class Explore(object):
Note: See TracChangeset
for help on using the changeset viewer.