MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / plus_or_dot

Function plus_or_dot

monai/_version.py:364–368  ·  view source on GitHub ↗

Return a + if we don't already have one, else return a .

(pieces)

Source from the content-addressed store, hash-verified

362
363
364def plus_or_dot(pieces):
365 """Return a + if we don't already have one, else return a ."""
366 if "+" in pieces.get("closest-tag", ""):
367 return "."
368 return "+"
369
370
371def render_pep440(pieces):

Callers 4

render_pep440Function · 0.70
render_pep440_branchFunction · 0.70
render_pep440_postFunction · 0.70

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…