Changeset d80f7e1 in sasview for inversionview/src/sans/perspectives


Ignore:
Timestamp:
Aug 10, 2011 3:24:55 PM (13 years ago)
Author:
Jae Cho <jhjcho@…>
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:
25a40ef0
Parents:
5ad0594
Message:

updated dataloader calls

Location:
inversionview/src/sans/perspectives/pr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inversionview/src/sans/perspectives/pr/inversion_state.py

    r11f5196 rd80f7e1  
    1818from lxml import etree 
    1919from sans.guiframe.dataFitting import Data1D 
    20 from DataLoader.readers.cansas_reader import Reader as CansasReader 
    21 from DataLoader.readers.cansas_reader import get_content 
     20from sans.dataloader.readers.cansas_reader import Reader as CansasReader 
     21from sans.dataloader.readers.cansas_reader import get_content 
    2222 
    2323PRNODE_NAME = 'pr_inversion' 
  • inversionview/src/sans/perspectives/pr/pr.py

    r11f5196 rd80f7e1  
    970970        # First, check that the data is of the right type 
    971971        if issubclass(self.current_plottable.__class__, 
    972                        DataLoader.data_info.Data1D): 
     972                       sans.dataloader.data_info.Data1D): 
    973973            self.state_reader.write(filepath, self.current_plottable, prstate) 
    974974        else: 
    975975            msg = "pr.save_data: the data being saved is not a" 
    976             msg += " DataLoader.data_info.Data1D object"  
     976            msg += " sans.dataloader.data_info.Data1D object"  
    977977            raise RuntimeError, msg 
    978978         
Note: See TracChangeset for help on using the changeset viewer.