Ignore:
Timestamp:
Nov 29, 2017 1:13:23 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:
237b800f
Parents:
a839b22
Message:

lint

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/models/core_shell_cylinder.py

    r9f6823b r2d81cfe  
    7373""" 
    7474 
     75import numpy as np 
    7576from numpy import pi, inf, sin, cos 
    7677 
     
    119120              ["theta", "degrees", 60, [-360, 360], "orientation", 
    120121               "cylinder axis to beam angle"], 
    121               ["phi", "degrees",   60, [-360, 360], "orientation", 
     122              ["phi", "degrees", 60, [-360, 360], "orientation", 
    122123               "rotation about beam"], 
    123124             ] 
     
    143144 
    144145def random(): 
    145     import numpy as np 
    146146    outer_radius = 10**np.random.uniform(1, 4.7) 
    147147    # Use a distribution with a preference for thin shell or thin core 
     
    170170qx = q*cos(pi/6.0) 
    171171qy = q*sin(pi/6.0) 
    172 tests = [[{}, 0.075, 10.8552692237], 
    173         [{}, (qx, qy), 0.444618752741 ], 
    174         ] 
     172tests = [ 
     173    [{}, 0.075, 10.8552692237], 
     174    [{}, (qx, qy), 0.444618752741], 
     175] 
    175176del qx, qy  # not necessary to delete, but cleaner 
Note: See TracChangeset for help on using the changeset viewer.