Changeset c4e3215 in sasmodels for sasmodels/compare.py
- Timestamp:
- Apr 4, 2017 3:26:07 PM (7 years ago)
- Branches:
- master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
- Children:
- 3a45c2c, 01e551a
- Parents:
- f68e2a5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/compare.py
r6cff473 rc4e3215 1150 1150 show html docs for the model 1151 1151 """ 1152 import wx # type: ignore 1153 from .generate import view_html_from_info 1154 app = wx.App() if wx.GetApp() is None else None 1155 view_html_from_info(opts['def'][0]) 1156 if app: app.MainLoop() 1157 1152 import os 1153 from .generate import make_html 1154 from . import rst2html 1155 1156 info = opts['def'][0] 1157 html = make_html(info) 1158 path = os.path.dirname(info.filename) 1159 url = "file://"+path.replace("\\","/")[2:]+"/" 1160 rst2html.view_html_qtapp(html, url) 1158 1161 1159 1162 def explore(opts):
Note: See TracChangeset
for help on using the changeset viewer.