ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since c138160 was
bbc8013,
checked in by Mathieu Doucet <doucetm@…>, 16 years ago
|
Modify the way default readers are loaded.
|
-
Property mode set to
100644
|
File size:
737 bytes
|
Line | |
---|
1 | import abs_reader |
---|
2 | import cansas_reader |
---|
3 | import ascii_reader |
---|
4 | import cansas_reader |
---|
5 | import danse_reader |
---|
6 | import hfir1d_reader |
---|
7 | import IgorReader |
---|
8 | import tiff_reader |
---|
9 | |
---|
10 | def 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
TracBrowser
for help on using the repository browser.