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 8240eab was
bffc2ad,
checked in by Mathieu Doucet <doucetm@…>, 16 years ago
|
dataloader: added function to get location of settings file, added functionality to default to CWD when looking for that settings file
|
-
Property mode set to
100644
|
File size:
448 bytes
|
Line | |
---|
1 | # Backward compatibility with the previous implementation of the default readers |
---|
2 | from associations import register_readers |
---|
3 | |
---|
4 | # Method to associate extensions to default readers |
---|
5 | from associations import read_associations |
---|
6 | |
---|
7 | # Method to return the location of the XML settings file |
---|
8 | def get_data_path(): |
---|
9 | """ |
---|
10 | Return the location of the settings file for the data readers. |
---|
11 | """ |
---|
12 | import os |
---|
13 | return os.path.dirname(__file__) |
---|
Note: See
TracBrowser
for help on using the repository browser.