Changeset 4102709 in sasview


Ignore:
Timestamp:
Jul 9, 2008 10:17:14 AM (16 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
e6e76ef
Parents:
573eb2d6
Message:

need to clean the code …working on it

Location:
guiframe
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • guiframe/data_loader.py

    rfc2b91a r4102709  
    5757    from sans.guicomm.events import NewPlotEvent 
    5858    from sans.guitools.plottables import Data1D, Theory1D 
    59     x, y, dy = load_ascii_1D(path) 
     59    from DataLoader.loader import  Loader 
     60    #Instantiate a loader  
     61    L=Loader() 
     62     
     63    #Recieves data  
     64    x,y,dy=L.load(path) 
     65    
     66    import numpy 
    6067     
    6168    if dy==None: 
  • guiframe/gui_manager.py

    rd0802c3 r4102709  
    589589         
    590590    def _on_open(self, event): 
     591    
    591592        from data_loader import plot_data 
    592593        path = self.choose_file() 
     
    594595        if path and os.path.isfile(path): 
    595596            plot_data(self, path) 
    596                  
     597            
    597598         
    598599         
Note: See TracChangeset for help on using the changeset viewer.