Skip to content

Commit

Permalink
Updated to fit new code
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiAll99 committed Mar 7, 2024
1 parent 430c25a commit 0a81ac3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_extraction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 0a81ac3

Please sign in to comment.