Changeset 98ba1fc in sasmodels
- Timestamp:
- Jul 14, 2016 3:38:02 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:
- a738209
- Parents:
- 56b2687
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sasmodels/modelinfo.py
rda63656 r98ba1fc 633 633 634 634 # find the defintion lines for the different code blocks 635 source = inspect.getsource(kernel_module) 635 try: 636 source = inspect.getsource(kernel_module) 637 except IOError: 638 return 636 639 for k, v in enumerate(source.split('\n')): 637 640 if v.startswith('Iqxy'): … … 844 847 845 848 # line numbers within the python file for bits of C source, if defined 846 _Iqxy_line = 0 847 _Iq_line = 0 848 _form_volume_line = 0 849 # NB: some compilers fail with a "#line 0" directive, so default to 1. 850 _Iqxy_line = 1 851 _Iq_line = 1 852 _form_volume_line = 1 849 853 850 854
Note: See TracChangeset
for help on using the changeset viewer.