Ignore:
Timestamp:
Dec 20, 2016 12:05:17 PM (8 years ago)
Author:
krzywon
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
9e0aa69a
Parents:
ca224b1
Message:

Added a constant for "[plug-in] " to maintain consistency across multiple classes, modified the documentation on a method to be clearer, and changed the exception handling for calcthread back to its original state.

File:
1 edited

Legend:

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

    r8aec639 r0de74af  
    11671167        self.categorybox.Select(category_pos) 
    11681168        self._show_combox(None) 
     1169        from models import PLUGIN_NAME_BASE 
    11691170        if self.categorybox.GetValue() == 'Customized Models' \ 
    1170                 and '[plug-in]' not in state.formfactorcombobox: 
     1171                and PLUGIN_NAME_BASE not in state.formfactorcombobox: 
    11711172            state.formfactorcombobox = \ 
    1172                 '[plug-in] ' + state.formfactorcombobox 
     1173                PLUGIN_NAME_BASE + state.formfactorcombobox 
    11731174        formfactor_pos = 0 
    11741175        for ind_form in range(self.formfactorbox.GetCount()): 
Note: See TracChangeset for help on using the changeset viewer.