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 f00072f was
574adc7,
checked in by Paul Kienzle <pkienzle@…>, 7 years ago
|
convert sascalc to python 2/3 syntax
|
-
Property mode set to
100644
|
File size:
314 bytes
|
Rev | Line | |
---|
[7a5d066] | 1 | # Method to associate extensions to default readers |
---|
[574adc7] | 2 | from .associations import read_associations |
---|
[959eb01] | 3 | |
---|
[7a5d066] | 4 | |
---|
[959eb01] | 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 |
---|
[7a5d066] | 11 | return os.path.dirname(__file__) |
---|
Note: See
TracBrowser
for help on using the repository browser.