Changes in / [a84a0ca:81d3a0c] in sasmodels


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • example/fit_sesans.py

    r52e3eef rd7cd7d1  
    1414sys.path.insert(0, SASMODELS) 
    1515 
    16 from bumps.gui.gui_app import main as gui 
    17 gui() 
     16if sys.argv[-1].startswith('-'): 
     17    from bumps.cli import main as run_bumps 
     18else: 
     19    from bumps.gui.gui_app import main as run_bumps 
     20run_bumps() 
Note: See TracChangeset for help on using the changeset viewer.