Changeset ca3b9c5d in sasview


Ignore:
Timestamp:
Aug 9, 2011 11:18:55 AM (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:
804dd60
Parents:
d075f58
Message:

update dataloader name

Location:
sansdataloader/test
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • sansdataloader/test/testLoad.py

    raab4e15 rca3b9c5d  
    1414import unittest 
    1515import math 
    16 import DataLoader 
    17 from DataLoader.loader import  Loader 
     16import sans.dataloader 
     17from sans.dataloader.loader import  Loader 
    1818 
    1919# Check whether we should test image loading on this system  
  • sansdataloader/test/testplugings.py

    raab4e15 rca3b9c5d  
    44 
    55import unittest 
    6 from DataLoader.loader import  Loader, Registry 
     6from sans.dataloader.loader import  Loader, Registry 
    77class testLoader(unittest.TestCase): 
    88     
  • sansdataloader/test/utest_abs_reader.py

    raab4e15 rca3b9c5d  
    55import unittest 
    66import numpy, math 
    7 from DataLoader.loader import  Loader 
    8 from DataLoader.data_info import Data1D 
     7from sans.dataloader.loader import  Loader 
     8from sans.dataloader.data_info import Data1D 
    99  
    1010import os.path 
     
    1313     
    1414    def setUp(self): 
    15         from DataLoader.readers.abs_reader import Reader 
     15        from sans.dataloader.readers.abs_reader import Reader 
    1616        self.data = Reader().read("jan08002.ABS") 
    1717         
     
    311311         
    312312    def test_writer(self): 
    313         from DataLoader.readers.cansas_reader import Reader 
     313        from sans.dataloader.readers.cansas_reader import Reader 
    314314        r = Reader() 
    315315        x = numpy.ones(5) 
  • sansdataloader/test/utest_ascii.py

    raab4e15 rca3b9c5d  
    66 
    77import unittest 
    8 from DataLoader.loader import  Loader 
     8from sans.dataloader.loader import  Loader 
    99  
    1010import os.path 
  • sansdataloader/test/utest_averaging.py

    raab4e15 rca3b9c5d  
    22import unittest 
    33 
    4 from DataLoader.loader import  Loader 
    5 from DataLoader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter 
     4from sans.dataloader.loader import  Loader 
     5from sans.dataloader.manipulations import Ring, CircularAverage, SectorPhi, get_q,reader2D_converter 
    66  
    77import os.path 
    88import numpy, math 
    9 import DataLoader.data_info as data_info 
     9import sans.dataloader.data_info as data_info 
    1010 
    1111class Averaging(unittest.TestCase): 
     
    136136            The test data was not generated by IGOR. 
    137137        """ 
    138         from DataLoader.manipulations import Boxsum, Boxavg 
     138        from sans.dataloader.manipulations import Boxsum, Boxavg 
    139139         
    140140        r = Boxsum(x_min=.01, x_max=.015, y_min=0.01, y_max=0.015) 
     
    153153            The test data was not generated by IGOR. 
    154154        """ 
    155         from DataLoader.manipulations import SlabX 
     155        from sans.dataloader.manipulations import SlabX 
    156156         
    157157        r = SlabX(x_min=-.01, x_max=.01, y_min=-0.0002, y_max=0.0002, bin_width=0.0004) 
     
    170170            The test data was not generated by IGOR. 
    171171        """ 
    172         from DataLoader.manipulations import SlabY 
     172        from sans.dataloader.manipulations import SlabY 
    173173         
    174174        r = SlabY(x_min=.005, x_max=.01, y_min=-0.01, y_max=0.01, bin_width=0.0004) 
     
    189189            The test data was not generated by IGOR. 
    190190        """ 
    191         from DataLoader.manipulations import SectorPhi 
     191        from sans.dataloader.manipulations import SectorPhi 
    192192        import math 
    193193         
     
    207207            The test data was not generated by IGOR. 
    208208        """ 
    209         from DataLoader.manipulations import SectorPhi 
     209        from sans.dataloader.manipulations import SectorPhi 
    210210        import math 
    211211         
     
    225225            The test data was not generated by IGOR. 
    226226        """ 
    227         from DataLoader.manipulations import SectorQ 
     227        from sans.dataloader.manipulations import SectorQ 
    228228        import math 
    229229         
  • sansdataloader/test/utest_manipulations.py

    raab4e15 rca3b9c5d  
    66import unittest 
    77import numpy, math 
    8 from DataLoader.loader import  Loader 
    9 from DataLoader.data_info import Data1D, Data2D 
     8from sans.dataloader.loader import  Loader 
     9from sans.dataloader.data_info import Data1D, Data2D 
    1010  
    1111import os.path 
  • sansdataloader/test/utest_red2d_reader.py

    raab4e15 rca3b9c5d  
    66 
    77import unittest 
    8 from DataLoader.loader import  Loader 
     8from sans.dataloader.loader import  Loader 
    99  
    1010import os.path 
Note: See TracChangeset for help on using the changeset viewer.