source: sasmodels/example/fit_sesans.py @ bfea0c2

core_shell_microgelscostrafo411magnetic_modelrelease_v0.94release_v0.95ticket-1257-vesicle-productticket_1156ticket_1265_superballticket_822_more_unit_tests
Last change on this file since bfea0c2 was 4c1bfb3, checked in by jhbakker, 8 years ago

refactor fit_sesans/sesansfit to simplify startup

  • Property mode set to 100644
File size: 477 bytes
Line 
1#!/usr/bin/env python
2import os
3import sys
4
5# Need to fix the paths to sasmodels and sasview if no eggs present
6ONEUP=os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
7PROJECTS=os.path.dirname(ONEUP)
8SASMODELS=os.path.join(PROJECTS, 'sasmodels')
9SASVIEW=os.path.join(PROJECTS, 'sasview', 'src')
10BUMPS=os.path.join(PROJECTS, 'bumps')
11
12sys.path.insert(0, BUMPS)
13sys.path.insert(0, SASVIEW)
14sys.path.insert(0, SASMODELS)
15
16from bumps.gui.gui_app import main as gui
17gui()
Note: See TracBrowser for help on using the repository browser.