Changeset a769b54 in sasmodels for sasmodels/direct_model.py


Ignore:
Timestamp:
Feb 8, 2017 12:58:46 PM (7 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
3a45c2c
Parents:
1105286
Message:

allow sascomp with -data=filename to set q,dq from file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/direct_model.py

    rb397165 ra769b54  
    192192 
    193193        # interpret data 
    194         if hasattr(data, 'lam'): 
     194        if hasattr(data, 'isSesans') and data.isSesans: 
    195195            self.data_type = 'sesans' 
    196196        elif hasattr(data, 'qx_data'): 
Note: See TracChangeset for help on using the changeset viewer.