core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change
on this file since 6dd90c1 was
91c5fdc,
checked in by Paul Kienzle <pkienzle@…>, 9 years ago
|
fix doc build
|
-
Property mode set to
100644
|
File size:
361 bytes
|
Line | |
---|
1 | import sys, os |
---|
2 | sys.path.insert(0, os.path.abspath('..')) |
---|
3 | from sasmodels import generate, core |
---|
4 | |
---|
5 | # Convert ../sasmodels/models/name.py to name |
---|
6 | model_name = os.path.basename(sys.argv[1])[:-3] |
---|
7 | |
---|
8 | # Load the doc string from the module definition file and store it in rst |
---|
9 | docstr = generate.make_doc(core.load_model_info(model_name)) |
---|
10 | open(sys.argv[2],'w').write(docstr) |
---|
Note: See
TracBrowser
for help on using the repository browser.