ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalcmagnetic_scattrelease-4.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since 251ef684 was
959eb01,
checked in by ajj, 8 years ago
|
normalising line endings
|
-
Property mode set to
100644
|
File size:
436 bytes
|
Rev | Line | |
---|
[959eb01] | 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 |
---|
[bffc2ad] | 13 | return os.path.dirname(__file__) |
---|
Note: See
TracBrowser
for help on using the repository browser.