Changeset 56a282c in sasview


Ignore:
Timestamp:
May 16, 2017 7:56:13 AM (7 years ago)
Author:
Adam Washington <adam.washington@…>
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
7b15990
Parents:
f1e409f
Message:

Renamed _findModels to the more pythonic _find_models

Used grep to ensure that no calls to _findModels remain

File:
1 edited

Legend:

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

    rf1e409f r56a282c  
    161161 
    162162 
    163 def _findModels(): 
     163def _find_models(): 
    164164    """ 
    165165    Find custom models 
     
    262262        temp = {} 
    263263        if self.is_changed(): 
    264             return  _findModels() 
     264            return  _find_models() 
    265265        logger.info("plugin model : %s" % str(temp)) 
    266266        return temp 
     
    337337        """ 
    338338        self.plugins = [] 
    339         new_plugins = _findModels() 
     339        new_plugins = _find_models() 
    340340        for name, plug in  new_plugins.iteritems(): 
    341341            for stored_name, stored_plug in self.stored_plugins.iteritems(): 
Note: See TracChangeset for help on using the changeset viewer.