Changeset 6d52ff44 in sasview for fittingview/src/sans
- Timestamp:
- Dec 6, 2011 11:41:27 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:
- b7cfa8d
- Parents:
- 624cd3c3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/__init__.py
r25cba72 r6d52ff44 1 1 PLUGIN_ID = "Fitting plug-in 1.0" 2 from fitting import *3 from distutils.filelist import findall4 2 import os 5 3 def get_data_path(media): … … 39 37 data_files = [] 40 38 path = get_data_path(media="media") 41 for f in findall(path):39 for f in os.listdir(path): 42 40 data_files.append(('media/fitting_media', [f])) 43 41 return data_files
Note: See TracChangeset
for help on using the changeset viewer.