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