Changeset db7a82e in sasview for sansview


Ignore:
Timestamp:
Aug 11, 2011 1:15:30 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:
fe857e2
Parents:
9e2e7e9
Message:

updated dataloader calls

Location:
sansview/scripts
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sansview/scripts/installer_generator.py

    rff00215 rdb7a82e  
    4141        list = [] 
    4242        #(ext, type, name, flags) 
    43         from DataLoader.loader import Loader 
     43        from sans.dataloader.loader import Loader 
    4444        wild_cards = Loader().get_wildcards() 
    4545        for item in wild_cards: 
  • sansview/scripts/sansview.py

    rc9a7ce9 rdb7a82e  
    6262            self.gui.add_perspective(pr_plug) 
    6363        except: 
     64            raise 
    6465            logging.error("SansView: could not find P(r) plug-in module")  
    6566            logging.error(sys.exc_value)   
     
    7172            self.gui.add_perspective(invariant_plug) 
    7273        except: 
     74            raise 
    7375            logging.error("SansView: could not find Invariant plug-in module")  
    7476            logging.error(sys.exc_value)   
  • sansview/scripts/setup_exe.py

    rff00215 rdb7a82e  
    9898    data_files.append((os.path.split(dirname)[0], [f])) 
    9999 
    100 # Copy the settings file for the DataLoader file extension associations 
    101 import DataLoader.readers 
    102 f = os.path.join(DataLoader.readers.get_data_path(),'defaults.xml') 
     100# Copy the settings file for the sans.dataloader file extension associations 
     101import sans.dataloader.readers 
     102f = os.path.join(sans.dataloader.readers.get_data_path(),'defaults.xml') 
    103103if os.path.isfile(f): 
    104104    data_files.append(('.', [f])) 
  • sansview/scripts/setup_mac.py

    rff00215 rdb7a82e  
    77from setuptools import setup 
    88import periodictable.xsf 
    9 import DataLoader.readers  
     9import sans.dataloader.readers  
    1010from distutils.sysconfig import get_python_lib 
    1111import os 
     
    3131 
    3232#CANSAxml reader data files 
    33 RESOURCES_FILES.append(os.path.join(DataLoader.readers.get_data_path(),'defaults.xml')) 
     33RESOURCES_FILES.append(os.path.join(sans.dataloader.readers.get_data_path(),'defaults.xml')) 
    3434 
    3535# Locate libxml2 library 
     
    5353        list = [] 
    5454        EXCEPTION_LIST = ['*', '.', ''] 
    55         from DataLoader.loader import Loader 
     55        from sans.dataloader.loader import Loader 
    5656        wild_cards = Loader().get_wildcards() 
    5757        for item in wild_cards: 
Note: See TracChangeset for help on using the changeset viewer.