source: sasmodels/compare @ 5852c86

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since 5852c86 was 5852c86, checked in by Paul Kienzle <pkienzle@…>, 9 years ago

compare driver in python so it works with debugger (and so we don't need compare.bat and compare.sh)

  • Property mode set to 100755
File size: 517 bytes
Line 
1#!/usr/bin/env python
2
3import sys
4import os
5import glob
6
7def main():
8    sasmodels = os.path.dirname(os.path.abspath(__file__))
9    root = os.path.dirname(sasmodels)
10    sasview=glob.glob(os.path.join(root, 'sasview', 'build', 'lib.*' ))[0]
11    sys.path.insert(0, os.path.join(root, 'bumps'))
12    sys.path.insert(0, os.path.join(root, 'periodictable'))
13    sys.path.insert(0, sasview)
14    sys.path.insert(0, sasmodels)
15
16    import sasmodels.compare
17    sasmodels.compare.main()
18
19if __name__ == "__main__":
20    main()
Note: See TracBrowser for help on using the repository browser.