Ignore:
Timestamp:
Mar 15, 2016 11:02:33 AM (9 years ago)
Author:
ajj
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:
66f21cd
Parents:
06aaa75d (diff), 12e19bd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into ESS_dev

File:
1 edited

Legend:

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

    rd85c194 r4ee041f  
    315315        # regular model names only 
    316316        base_message = "Unable to load model {0}" 
    317         try: 
    318             self.model_name_list = [] 
     317        self.model_name_list = [] 
     318        try: 
    319319            from sas.models.SphereModel import SphereModel 
    320320            self.model_dictionary[SphereModel.__name__] = SphereModel 
     
    529529        except: 
    530530            logging.error(base_message.format(EllipticalCylinderModel.__name__)) 
     531 
     532        try: 
     533            from sas.models.BarBellModel import BarBellModel 
     534 
     535            self.model_dictionary[BarBellModel.__name__] = BarBellModel 
     536            #       self.shape_list.append(BarBellModel) 
     537            self.model_name_list.append(BarBellModel.__name__) 
     538        except: 
     539            logging.error(base_message.format(BarBellModel.__name__)) 
    531540 
    532541        try: 
Note: See TracChangeset for help on using the changeset viewer.