Changeset d0b0f5d in sasmodels for sasmodels/sasview_model.py


Ignore:
Timestamp:
Mar 31, 2019 10:20:32 AM (5 years ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
d827c5e
Parents:
7050455 (diff), e2da671 (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.
git-author:
Andrew Jackson <andrew.jackson@…> (03/31/19 10:20:32)
git-committer:
GitHub <noreply@…> (03/31/19 10:20:32)
Message:

Merge pull request #67 from SasView?/ticket-608-user-defined-weights

Ticket 608 user defined weights

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/sasview_model.py

    ra34b811 rd0b0f5d  
    3131from . import modelinfo 
    3232from .details import make_kernel_args, dispersion_mesh 
     33 
     34# Hack: load in any custom distributions 
     35# Uses ~/.sasview/weights/*.py unless SASMODELS_WEIGHTS is set in the environ. 
     36# Override with weights.load_weights(pattern="<weights_path>/*.py") 
     37weights.load_weights() 
    3338 
    3439# pylint: disable=unused-import 
Note: See TracChangeset for help on using the changeset viewer.