Commit d9cca1cd authored by Richard Waite's avatar Richard Waite
Browse files

Fix flake8 errors/warnings

parent 1f07327b
......@@ -24,7 +24,8 @@ class EllipticalShell(Patch):
"""
def __str__(self):
return f"EllipticalShell(center={self.center}, width={self.width}, height={self.height}, frac_thick={self.frac_thick}, angle={self.angle})"
return f"EllipticalShell(center={self.center}, width={self.width}, height={self.height}, " \
f"frac_thick={self.frac_thick}, angle={self.angle})"
def __init__(self, center, width, height, frac_thick, angle=0.0, **kwargs):
"""
......
......@@ -185,7 +185,8 @@ class EllipsoidalIntergratedPeakRepresentationSliceEllipsoidTest(unittest.TestCa
c = 1
zp = 0
slice_transform = lambda x: (x[1], x[0], x[2])
def slice_transform(x):
return (x[1], x[0], x[2])
expected_slice_origin = (0, 0, 0)
expected_major_radius = 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment