Changeset 70b760da in sasview for fittingview/src/sans
- Timestamp:
- Aug 24, 2011 10:26:16 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:
- 4ad076b
- Parents:
- b3145bf
- Location:
- fittingview/src/sans/perspectives/fitting
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
fittingview/src/sans/perspectives/fitting/basepage.py
r49c69de r70b760da 2613 2613 """ 2614 2614 from help_panel import HelpWindow 2615 import sans.models as models2615 from sans.models import get_data_path 2616 2616 2617 2617 # Get models help model_function path 2618 path = models.get_data_path(media='media')2618 path = get_data_path(media='media') 2619 2619 model_path = os.path.join(path,"model_functions.html") 2620 2620 if self.model == None: -
fittingview/src/sans/perspectives/fitting/help_panel.py
rc0a30a24 r70b760da 49 49 self.rhelp = html.HtmlWindow(rpanel, -1, style=wx.NO_BORDER, size=(500,-1)) 50 50 51 import sans.models as models52 51 # get the media path 53 path = models.get_data_path(media='media') 52 if pageToOpen != None: 53 path = os.path.dirname(pageToOpen) 54 else: 55 from sans.models import get_data_path as model_path 56 # Get models help model_function path 57 path = model_path(media='media') 58 54 59 self.path = os.path.join(path,"model_functions.html") 55 60 self.path_pd = os.path.join(path,"pd_help.html") 56 61 self.path_sm = os.path.join(path,"smear_computation.html") 57 import sans.perspectives.fitting as fitting 58 59 fitting_path = fitting.get_data_path(media='media') 62 from sans.perspectives.fitting import get_data_path as fit_path 63 fitting_path = fit_path(media='media') 60 64 61 65 _html_file = {"status_bar_help.html":"Status Bar Help",
Note: See TracChangeset
for help on using the changeset viewer.