Changeset 85a24d9 in sasview for invariantview/perspectives/invariant
- Timestamp:
- Apr 22, 2010 11:00:36 AM (15 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:
- 2b0443f
- Parents:
- e56869f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
invariantview/perspectives/invariant/__init__.py
re56869f r85a24d9 16 16 # If we are inside a py2exe zip file, we need to go up 17 17 # to get to the directory containing 18 # the media for th simodule18 # the media for this module 19 19 path = os.path.dirname(__file__) 20 #Look for maximum n_dir up of the current dir to find media 20 21 n_dir = 12 21 22 for i in range(n_dir): … … 23 24 media_path = os.path.join(path, media) 24 25 if os.path.isdir(media_path): 25 module_media_path = os.path.join(media_path,'invariant_media' 26 module_media_path = os.path.join(media_path,'invariant_media') 26 27 if os.path.isdir(module_media_path): 27 28 return module_media_path
Note: See TracChangeset
for help on using the changeset viewer.