MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / _is_up_to_date

Method _is_up_to_date

deeplabcut/gui/utils.py:230–236  ·  view source on GitHub ↗
(installed: str, latest: str)

Source from the content-addressed store, hash-verified

228
229 @staticmethod
230 def _is_up_to_date(installed: str, latest: str) -> bool:
231 if Version is not None:
232 try:
233 return Version(installed) >= Version(latest)
234 except InvalidVersion:
235 return installed == latest
236 return installed == latest

Callers 1

_on_reply_finishedMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected