Changeset 5b37fd6 in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Oct 6, 2016 2:20:06 PM (8 years ago)
Author:
wojciech
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
6abf703
Parents:
886fa25
Message:

Needed to try except clause, otherwise was failing when trying disatch model on Windows without precompiled models - ref #576

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    r886fa25 r5b37fd6  
    575575                            magnetic=is_magnetic) 
    576576        calculator.release() 
    577         self._model.release() 
     577        try: 
     578            self._model.release() 
     579        except: 
     580            pass 
    578581        return result 
    579582 
Note: See TracChangeset for help on using the changeset viewer.