Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to fit new code #55

Merged
merged 1 commit into from
Mar 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading