Changes in / [93fbc34:1941ec6] in sasmodels
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
.gitignore
r9248bf7 r2badeca 8 8 *.so 9 9 *.obj 10 *.o 10 11 /doc/_build/ 11 12 /doc/api/ … … 19 20 /.pydevproject 20 21 /.idea 22 .vscode 23 xlate.c 21 24 /sasmodels.egg-info/ 22 25 /example/Fit_*/ -
sasmodels/kerneldll.py
r2d81cfe r1ddb794 185 185 subprocess.check_output(command, shell=shell, stderr=subprocess.STDOUT) 186 186 except subprocess.CalledProcessError as exc: 187 raise RuntimeError("compile failed.\n%s\n%s"%(command_str, exc.output)) 187 raise RuntimeError("compile failed.\n%s\n%s" 188 % (command_str, exc.output.decode())) 188 189 if not os.path.exists(output): 189 190 raise RuntimeError("compile failed. File is in %r"%source) -
sasmodels/modelinfo.py
r108e70e r108e70e 12 12 from os.path import abspath, basename, splitext 13 13 import inspect 14 import logging 14 15 15 16 import numpy as np # type: ignore 17 18 from . import autoc 16 19 17 20 # Optional typing … … 32 35 TestCondition = Tuple[ParameterSetUser, TestInput, TestValue] 33 36 # pylint: enable=unused-import 37 38 logger = logging.getLogger(__name__) 34 39 35 40 # If MAX_PD changes, need to change the loop macros in kernel_iq.c … … 789 794 info.structure_factor = getattr(kernel_module, 'structure_factor', False) 790 795 info.profile_axes = getattr(kernel_module, 'profile_axes', ['x', 'y']) 796 info.c_code = getattr(kernel_module, 'c_code', None) 791 797 info.source = getattr(kernel_module, 'source', []) 792 798 info.c_code = getattr(kernel_module, 'c_code', None) … … 819 825 info.lineno = {} 820 826 _find_source_lines(info, kernel_module) 827 try: 828 autoc.convert(info, kernel_module) 829 except Exception as exc: 830 raise 831 logger.warn(str(exc)) 821 832 822 833 return info
Note: See TracChangeset
for help on using the changeset viewer.