ibllib.misc.version

ibllib.misc.version.eq(v1, v2)

check if v1 == v2

Parameters:
  • v1 (str) – version string, in the form “1.23.3”
  • v2 (str) – version string, in the form “1.23.3”
Returns:

bool

ibllib.misc.version.ge(v1, v2)

check if v1 >= v2

Parameters:
  • v1 (str) – version string, in the form “1.23.3”
  • v2 (str) – version string, in the form “1.23.3”
Returns:

bool

ibllib.misc.version.gt(v1, v2)

check if v1 > v2

Parameters:
  • v1 (str) – version string, in the form “1.23.3”
  • v2 (str) – version string, in the form “1.23.3”
Returns:

bool

ibllib.misc.version.le(v1, v2)

check if v1 <= v2

Parameters:
  • v1 (str) – version string, in the form “1.23.3”
  • v2 (str) – version string, in the form “1.23.3”
Returns:

bool

ibllib.misc.version.lt(v1, v2)

check if v1 < v2

Parameters:
  • v1 (str) – version string, in the form “1.23.3”
  • v2 (str) – version string, in the form “1.23.3”
Returns:

bool