From d5115b742459ae9c9b084fa4273284077896b2ef Mon Sep 17 00:00:00 2001 From: Nico Kemnitz Date: Fri, 14 Feb 2025 14:29:16 +0100 Subject: [PATCH] fix(web_api/painting): unpack kwargs --- web_api/app/painting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_api/app/painting.py b/web_api/app/painting.py index 579a8b24e..2afa04033 100644 --- a/web_api/app/painting.py +++ b/web_api/app/painting.py @@ -74,7 +74,7 @@ async def write_cutout( data_arr = einops.rearrange(data_arr, "Z Y X C -> C X Y Z") # temporary hack to get non_aligned_writes to work. - cvol = _get_cv_cached(path, index.resolution, layer.backend.cv_kwargs) # type: ignore + cvol = _get_cv_cached(path, index.resolution, **layer.backend.cv_kwargs) # type: ignore cvol.non_aligned_writes = True _cv_cache[(path, index.resolution)] = cvol