Skip to content

Commit

Permalink
Started misc module type conversion.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Prosikhin committed Mar 1, 2025
1 parent d9f0e43 commit 9a4623d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bioptim/misc/utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from typing import Any
from packaging.version import parse as parse_version

from .parameters_types import Bool

def check_version(tool_to_compare: Any, min_version: str, max_version: str, exclude_max: bool = True):

def check_version(tool_to_compare: Any, min_version: str, max_version: str, exclude_max: Bool = True):
"""
Check if the version of a certain module is okay. If the function exits, then everything is okay
Expand Down

0 comments on commit 9a4623d

Please sign in to comment.