Changeset bbc8013 in sasview for DataLoader/readers


Ignore:
Timestamp:
Oct 24, 2008 9:36:56 AM (16 years ago)
Author:
Mathieu Doucet <doucetm@…>
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:
e43c012
Parents:
753552d
Message:

Modify the way default readers are loaded.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DataLoader/readers/__init__.py

    rbb03739 rbbc8013  
     1import abs_reader 
     2import cansas_reader 
     3import ascii_reader 
     4import cansas_reader 
     5import danse_reader 
     6import hfir1d_reader 
     7import IgorReader 
     8import tiff_reader 
     9 
     10def register_readers(registry_function): 
     11    """ 
     12        Function called by the registry/loader object to register 
     13        all default readers using a call back function. 
     14     
     15        @param registry_function: function to be called to register each reader 
     16    """ 
     17    registry_function(abs_reader) 
     18    registry_function(cansas_reader) 
     19    registry_function(ascii_reader) 
     20    registry_function(cansas_reader) 
     21    registry_function(danse_reader) 
     22    registry_function(hfir1d_reader) 
     23    registry_function(IgorReader) 
     24    registry_function(tiff_reader) 
     25     
Note: See TracChangeset for help on using the changeset viewer.