Skip to content

Commit

Permalink
Merge pull request #33 from clementpoiret/deepsource-autofix-63e7228c
Browse files Browse the repository at this point in the history
refactor: use identity check for comparison to a singleton
  • Loading branch information
clementpoiret authored Mar 29, 2024
2 parents 664c195 + 03cac77 commit beeb066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_hsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def test_roiloc(models_path):
mri, mask = hsf.roiloc_wrapper.get_mri(mris[0],
mask_pattern="no_mask.nii.gz")
assert isinstance(mri, ants.ANTsImage)
assert mask == None
assert mask is None

_, right, left = hsf.roiloc_wrapper.get_hippocampi(mri, {
"contrast": "t2",
Expand Down

0 comments on commit beeb066

Please sign in to comment.