Changeset 4a2b054 in sasview for invariantview/perspectives/invariant/__init__.py
- Timestamp:
- Nov 22, 2010 10:36:42 AM (14 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 32c0841
- Parents:
- cbaa2f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/__init__.py
r85a24d9 r4a2b054 24 24 media_path = os.path.join(path, media) 25 25 if os.path.isdir(media_path): 26 module_media_path = os.path.join(media_path,'invariant_media')27 28 29 26 module_media_path = os.path.join(media_path, 'invariant_media') 27 if os.path.isdir(module_media_path): 28 return module_media_path 29 return media_path 30 30 31 31 raise RuntimeError('Could not find invariant media files') … … 39 39 40 40 """ 41 data_files = []41 data_files = [] 42 42 path = get_data_path(media="media") 43 43 for f in findall(path):
Note: See TracChangeset
for help on using the changeset viewer.