From 2eec8d9f0f37f158a8b7df08031306ff7fdaae10 Mon Sep 17 00:00:00 2001 From: Matteo Visconti di Oleggio Castello Date: Tue, 26 Mar 2024 16:58:19 -0700 Subject: [PATCH] FIX _is_oblique --- nitransforms/io/afni.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nitransforms/io/afni.py b/nitransforms/io/afni.py index b197c4ed..16c3c189 100644 --- a/nitransforms/io/afni.py +++ b/nitransforms/io/afni.py @@ -226,7 +226,7 @@ def _is_oblique(affine, thres=OBLIQUITY_THRESHOLD_DEG): True """ - return (obliquity(affine).min() * 180 / pi) > thres + return (obliquity(affine).max() * 180 / pi) > thres def _afni_deobliqued_grid(oblique, shape):