From 0a81ac337929d2a82e8e0fb651e46fbd3b76c4f7 Mon Sep 17 00:00:00 2001 From: mahdiall99 Date: Thu, 7 Mar 2024 17:46:56 -0500 Subject: [PATCH] Updated to fit new code --- tests/test_extraction.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/test_extraction.py b/tests/test_extraction.py index ca685b3..4b474c1 100644 --- a/tests/test_extraction.py +++ b/tests/test_extraction.py @@ -32,13 +32,15 @@ def test_morph_features(self): vol=phantom, mask_int=roi, mask_morph=roi, - res=[1,1,1] + res=[1,1,1], + intensity_type="arbitrary" ) morph_vol = MEDimage.biomarkers.morph.vol( vol=phantom, mask_int=roi, mask_morph=roi, - res=[1,1,1] + res=[1,1,1], + intensity_type="arbitrary" ) assert morph_vol == morph["Fmorph_vol"] assert round(morph_vol, 2) == 0.83 @@ -52,6 +54,7 @@ def test_stats_features(self): ) stats = MEDimage.biomarkers.stats.extract_all( vol=vol_int_re, + intensity_type="arbitrary" ) kurt = MEDimage.biomarkers.stats.kurt( vol=vol_int_re,