Skip to content

Commit

Permalink
Merge pull request #55 from MahdiAll99/dev
Browse files Browse the repository at this point in the history
Updated to fit new code
  • Loading branch information
MahdiAll99 committed Mar 7, 2024
2 parents 38ba3e8 + 0a81ac3 commit 44bc5ae
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 44bc5ae

Please sign in to comment.