Skip to content

Commit

Permalink
Merge pull request #24 from neurospin/fix_znorm_warning
Browse files Browse the repository at this point in the history
fix: remove irrelevant warning
  • Loading branch information
clementpoiret authored Oct 23, 2023
2 parents 3919b1f + 35ca945 commit fc0c9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hsf/segment.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def predict(mris: list,
affine=aug.mri.affine)
aug.add_image(lm_temp, 'label')
aug.label.set_data(lab)
back = aug.apply_inverse_transform(warn=True)
back = aug.apply_inverse_transform(warn=False)
results.append(back.label.data)

return results
Expand Down

0 comments on commit fc0c9e2

Please sign in to comment.