Skip to content

Commit

Permalink
DCO
Browse files Browse the repository at this point in the history
Signed-off-by: Nicolas Kaenzig <[email protected]>
  • Loading branch information
nkaenzig committed Feb 19, 2025
1 parent c040d85 commit c9de5fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions monai/utils/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,7 @@ def is_module_ver_at_least(module, version):
`True` if module is the given version or newer.
"""
test_ver = ".".join(map(str, version))

return module.__version__ != test_ver and version_leq(test_ver, module.__version__)


Expand Down

0 comments on commit c9de5fc

Please sign in to comment.