Changeset b7cfa8d in sasview for calculatorview/src/sans/perspectives/calculator
- Timestamp:
- Dec 6, 2011 11:58:14 AM (13 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:
- 001b930
- Parents:
- 6d52ff44
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
calculatorview/src/sans/perspectives/calculator/__init__.py
r6d52ff44 rb7cfa8d 1 1 PLUGIN_ID = "Calculator plug-in 1.0" 2 2 import os 3 3 from distutils.filelist import findall 4 4 N_DIR = 12 5 5 def get_data_path(media): … … 42 42 data_files = [] 43 43 path = get_data_path(media="media") 44 for f in os.listdir(path):44 for f in findall(path): 45 45 data_files.append(('media/calculator_media', [f])) 46 46 return data_files
Note: See TracChangeset
for help on using the changeset viewer.