Changeset 4f8c17f in sasview


Ignore:
Timestamp:
Sep 27, 2018 5:06:12 AM (4 weeks ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_image_viewer, ESS_GUI_project_save
Children:
d4216ac
Parents:
63467b6
Message:

Plugin models may have the name attribute different than the actual
filename. Guard against this but keep loading them anyway. SASVIEW-1121

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/qtgui/Perspectives/Fitting/FittingWidget.py

    r6d87082 r4f8c17f  
    21052105            kernel_module = generate.load_kernel_module(name) 
    21062106        except ModuleNotFoundError as ex: 
     2107            pass 
     2108        except FileNotFoundError as ex: 
     2109            # can happen when name attribute not the same as actual filename 
    21072110            pass 
    21082111 
Note: See TracChangeset for help on using the changeset viewer.