We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 910e529 commit 29564b4Copy full SHA for 29564b4
pylabrobot/plate_reading/biotek_backend.py
@@ -70,6 +70,7 @@ async def _golden_ratio_search(
70
cache: Dict[float, float] = {}
71
72
async def cached_func(x: float) -> float:
73
+ x = round(x / tol) * tol # round x to units of tol
74
if x not in cache:
75
cache[x] = await func(x)
76
return cache[x]
0 commit comments