Changeset 234c532 in sasmodels for sasmodels/generate.py
- Timestamp:
- Oct 10, 2016 12:56:16 PM (8 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:
- e4bf271
- Parents:
- 689b7c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/generate.py
r462a115 r234c532 912 912 913 913 def view_html(model_name): 914 from . import rst2html915 914 from . import modelinfo 916 915 kernel_module = load_kernel_module(model_name) 917 916 info = modelinfo.make_model_info(kernel_module) 917 view_html_from_info(info) 918 919 def view_html_from_info(info): 920 from . import rst2html 918 921 url = "file://"+dirname(info.filename)+"/" 919 922 rst2html.wxview(make_html(info), url=url)
Note: See TracChangeset
for help on using the changeset viewer.