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.2.2ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since b54440d was
7a5d066,
checked in by krzywon, 8 years ago
|
Replace defaults.json file with constant to eliminate json dependency
|
-
Property mode set to
100644
|
File size:
313 bytes
|
Line | |
---|
1 | # Method to associate extensions to default readers |
---|
2 | from associations import read_associations |
---|
3 | |
---|
4 | |
---|
5 | # Method to return the location of the XML settings file |
---|
6 | def get_data_path(): |
---|
7 | """ |
---|
8 | Return the location of the settings file for the data readers. |
---|
9 | """ |
---|
10 | import os |
---|
11 | return os.path.dirname(__file__) |
---|
Note: See
TracBrowser
for help on using the repository browser.