From 0d8d9970363787754710e286fa14805609eea01f Mon Sep 17 00:00:00 2001 From: Julien Marabotto <166002186+jmarabotto@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:13:33 +0200 Subject: [PATCH] Update nitransforms/vis.py Co-authored-by: Chris Markiewicz --- nitransforms/vis.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nitransforms/vis.py b/nitransforms/vis.py index e7f7a7ab..76295f35 100644 --- a/nitransforms/vis.py +++ b/nitransforms/vis.py @@ -447,10 +447,6 @@ def plot_coeffs(self, fig, axes, xslice, yslice, zslice, s=0.1, show_titles=True i, j, k = abs(i), abs(j), abs(k) L1, L2, L3 = sorted([i, j, k], reverse=True) asum = np.sum([i, j, k]) - if L1 == L2 == L3 == 0: - pass - else: - assert L2 <= L1 and L2 >= L3 cl = (L1 - L2) / asum cl_arr.append(cl) if cl != np.nan else cl.append(0)