Commit 8b2458f8 authored by Thomas Dowrick's avatar Thomas Dowrick

Issue N/A: Fix linting

parent a3d4a99c
......@@ -41,7 +41,6 @@ def validate_procrustes_inputs(fixed, moving):
raise ValueError("fixed and moving should have "
+ "the same number of points (rows)")
# pylint: disable=assignment-from-no-return
def compute_fre(fixed, moving, rotation, translation):
"""
Computes the Fiducial Registration Error, equal
......@@ -53,6 +52,8 @@ def compute_fre(fixed, moving, rotation, translation):
:param translation: 3 x 1 ndarray
:returns: Fiducial Registration Error (FRE)
"""
# pylint: disable=assignment-from-no-return
validate_procrustes_inputs(fixed, moving)
transformed_moving = np.matmul(rotation, moving.transpose()) + translation
......
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