Changeset 2586ab72 in sasmodels for explore


Ignore:
Timestamp:
Oct 3, 2018 4:28:59 PM (6 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, magnetic_model, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
e44432d
Parents:
9ae0d2e
Message:

tweak explore/beta for python 3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • explore/beta/sasfit_compare_new.py

    r5d40d0c r2586ab72  
    578578def load_sasfit(path): 
    579579    data = np.loadtxt(path, dtype=str, delimiter=';').T 
    580     data = np.vstack((map(float, v) for v in data[0:2])) 
     580    data = np.vstack((list(map(float, v)) for v in data[0:2])) 
    581581    return data 
    582582 
Note: See TracChangeset for help on using the changeset viewer.