petab.versions

Handling of PEtab version numbers.

Functions

get_major_version(problem)

Get the major version number of the given problem.

petab.versions.get_major_version(problem: str | dict | Path | Problem | Problem) int[source]

Get the major version number of the given problem.