From 2990df944a7058d73706163e29cbc236b074c310 Mon Sep 17 00:00:00 2001 From: mahdiall99 Date: Thu, 7 Mar 2024 17:57:33 -0500 Subject: [PATCH 1/2] Updated to fit new code --- tests/test_extraction.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_extraction.py b/tests/test_extraction.py index 4b474c1..b04fd8c 100644 --- a/tests/test_extraction.py +++ b/tests/test_extraction.py @@ -39,8 +39,7 @@ def test_morph_features(self): vol=phantom, mask_int=roi, mask_morph=roi, - res=[1,1,1], - intensity_type="arbitrary" + res=[1,1,1] ) assert morph_vol == morph["Fmorph_vol"] assert round(morph_vol, 2) == 0.83 From cf0cd0717a79f5a115a2f7a7fc0effaf2ef3b460 Mon Sep 17 00:00:00 2001 From: mahdiall99 Date: Thu, 7 Mar 2024 18:08:13 -0500 Subject: [PATCH 2/2] fatal error: switched intensity type --- tests/test_extraction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_extraction.py b/tests/test_extraction.py index b04fd8c..33d9ca1 100644 --- a/tests/test_extraction.py +++ b/tests/test_extraction.py @@ -53,7 +53,7 @@ def test_stats_features(self): ) stats = MEDimage.biomarkers.stats.extract_all( vol=vol_int_re, - intensity_type="arbitrary" + intensity_type="definite" ) kurt = MEDimage.biomarkers.stats.kurt( vol=vol_int_re,