Changeset b7cfa8d in sasview
- 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
- Files:
-
- 3 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 -
fittingview/src/sans/perspectives/fitting/__init__.py
r6d52ff44 rb7cfa8d 1 1 PLUGIN_ID = "Fitting plug-in 1.0" 2 2 import os 3 from distutils.filelist import findall 3 4 def get_data_path(media): 4 5 """ … … 37 38 data_files = [] 38 39 path = get_data_path(media="media") 39 for f in os.listdir(path):40 for f in findall(path): 40 41 data_files.append(('media/fitting_media', [f])) 41 42 return data_files -
invariantview/src/sans/perspectives/invariant/__init__.py
r6d52ff44 rb7cfa8d 1 1 PLUGIN_ID = "Invariant plug-in 1.0" 2 2 import os 3 3 from distutils.filelist import findall 4 4 def get_data_path(media): 5 5 """ … … 38 38 data_files = [] 39 39 path = get_data_path(media="media") 40 for f in os.listdir(path):40 for f in findall(path): 41 41 data_files.append(('media/invariant_media', [f])) 42 42 return data_files
Note: See TracChangeset
for help on using the changeset viewer.