Changes in / [33d3a74:175b83f] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/sasgui/perspectives/calculator/model_editor.py
r1752f38 r9bf40e7 965 965 out_f.write(' """Absolute scattering"""\n') 966 966 if "scipy." in func_str: 967 out_f.write(' import scipy \n')967 out_f.write(' import scipy') 968 968 if "numpy." in func_str: 969 out_f.write(' import numpy \n')969 out_f.write(' import numpy') 970 970 if "np." in func_str: 971 out_f.write(' import numpy as np \n')971 out_f.write(' import numpy as np') 972 972 for func_line in func_str.split('\n'): 973 973 out_f.write('%s%s\n' % (' ', func_line))
Note: See TracChangeset
for help on using the changeset viewer.