Changeset 58a8f76 in sasview for src/sas/sasgui/perspectives


Ignore:
Timestamp:
Jan 9, 2018 8:07:53 AM (7 years ago)
Author:
Stuart Prescott <stuart@…>
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
b6b81a3
Parents:
2b442811
Message:

Allow models to have mixed case filenames in help

sasmodels contains filenames that are not all lowercase (unified_power_Rg.py)
and so the HTML help pages generated for this model are also mixed case
(unified_power_Rg.html). Forcing the filename to lowercase means that the
help for this model will not be found.

http://bugs.debian.org/886715

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    reee94bf r58a8f76  
    28122812        if self.model is not None: 
    28132813            name = self.formfactorbox.GetValue() 
    2814             _TreeLocation = 'user/models/' + name.lower()+'.html' 
     2814            _TreeLocation = 'user/models/%s.html' % name 
    28152815            _doc_viewer = DocumentationWindow(self, wx.ID_ANY, _TreeLocation, 
    28162816                                              "", name + " Help") 
Note: See TracChangeset for help on using the changeset viewer.