mache.parallel.system.cap_wall_time
- mache.parallel.system.cap_wall_time(desired: str, max_wallclock: str) str[source]
Cap a desired wall time at a scheduler target’s maximum.
- Parameters:
- Returns:
wall_time (str) –
max_wallclockif it is shorter thandesired, otherwisedesiredunchanged.desiredis also returned unchanged if either value is empty or cannot be parsed.