Changeset 65f3930 in sasview for sasview/sasview.py


Ignore:
Timestamp:
Jun 26, 2017 6:22:56 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
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, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
50fcb09
Parents:
98e3f24
Message:

move models.py to sascalc/fit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasview/sasview.py

    rf36e01f r65f3930  
    9696        # to ensure a complete Windows executable build. 
    9797 
     98        # Rebuild .sasview/categories.json.  This triggers a load of sasmodels 
     99        # and all the plugins. 
     100        try: 
     101            from sas.sascalc.fit.models import ModelManager 
     102            from sas.sasgui.guiframe.CategoryInstaller import CategoryInstaller 
     103            model_list = ModelManager().cat_model_list() 
     104            CategoryInstaller.check_install(model_list=model_list) 
     105        except Exception: 
     106            logger.error("%s: could not load SasView models") 
     107            logger.error(traceback.format_exc()) 
     108 
    98109        # Fitting perspective 
    99110        try: 
Note: See TracChangeset for help on using the changeset viewer.