Changeset 4f8c17f in sasview


Ignore:
Timestamp:
Sep 27, 2018 5:06:12 AM (6 years ago)
Author:
Piotr Rozyczko <piotr.rozyczko@…>
Branches:
ESS_GUI, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
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.