Changeset 949aa2c in sasview for sansview


Ignore:
Timestamp:
Jun 3, 2014 6:13:26 PM (10 years ago)
Author:
pkienzle
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
f8940db
Parents:
35086c3 (diff), eb9fc6d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge from trunk to bumps

Location:
sansview
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sansview/README.txt

    r099c355 reb9fc6d  
    1515      distribution of points when using a model to simulate data, and the  
    1616      addition of a Kratky plot option to the linear plots 
    17     - a number of bugs have also been fixed       
     17    - A number of bugs have also been fixed 
     18    - Save Project and Save Analysis now work more reliably 
    1819    - BETA: Magnetic contrast supporting full polarization analysis has been  
    1920            implemented for some spherical and cylindrical models 
     
    3132    - New in Version 2.2.1 
    3233      - Minor patch to support CanSAS XML v1.1 file format 
     34      - Added DataInfo for data in the DataExplorer and plots 
     35      - Added Maximize/Restore button in the title bar of the graphs 
     36      - Added a hide button in the toolbar of the graph panel 
     37      - The 'x' button now deletes a graph 
     38      - Edit SUM Model from the menubar can now generate and save more than one sum model 
     39      - Reports can now be saved in pdf format on WIN and MAC 
     40      - Made significant improvements to the batch/grid panel and fixed several bugs 
     41      - Fixed a number of other minor bugs 
    3342 
    3443    - New in Version 2.2.0 
  • sansview/sansview.py

    re2271c5 r6fe5100  
    3636PLUGIN_MODEL_DIR = 'plugin_models' 
    3737APP_NAME = 'SasView' 
    38 def run(): 
    39     sys.path.append(os.path.join("..","..","..")) 
    40     from multiprocessing import freeze_support 
    41     freeze_support() 
    42     sasview = SasView() 
    43          
     38 
    4439class SasViewApp(gui_manager.ViewApp): 
    4540    """ 
     
    113108        self.gui.clean_plugin_models(PLUGIN_MODEL_DIR) 
    114109        # Start the main loop 
    115         self.gui.MainLoop()   
    116         
     110        self.gui.MainLoop() 
    117111 
    118112 
    119 if __name__ == "__main__":  
     113def run(): 
    120114    from multiprocessing import freeze_support 
    121115    freeze_support() 
    122     #Process(target=SasView).start() 
    123     sasview = SasView() 
     116    if len(sys.argv) > 1: 
     117        thing_to_run = sys.argv[1] 
     118        sys.argv = sys.argv[1:] 
     119        import runpy 
     120        if os.path.exists(thing_to_run): 
     121            runpy.run_path(thing_to_run) 
     122        else: 
     123            runpy.run_module(thing_to_run) 
     124    else: 
     125        SasView() 
    124126 
    125     
     127if __name__ == "__main__": 
     128    run() 
     129 
  • sansview/setup_exe.py

    r27b7acc r6fe5100  
    319319'reportlab.platypus', 
    320320]) 
     321packages.append('IPython') 
    321322includes = ['site'] 
    322323 
Note: See TracChangeset for help on using the changeset viewer.