From ee873177994fa5ba615c02885f14b30f2f3a1293 Mon Sep 17 00:00:00 2001 From: Gerald Walter Irsiegler Date: Thu, 12 Oct 2023 10:48:19 +0200 Subject: [PATCH] fix persist not using itself (#176) Co-authored-by: Gerald Walter Irsiegler --- .../process_implementations/ml/curve_fitting.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openeo_processes_dask/process_implementations/ml/curve_fitting.py b/openeo_processes_dask/process_implementations/ml/curve_fitting.py index 38d9d64e..d31207e3 100644 --- a/openeo_processes_dask/process_implementations/ml/curve_fitting.py +++ b/openeo_processes_dask/process_implementations/ml/curve_fitting.py @@ -58,7 +58,7 @@ def fit_curve( # The dimension along which to fit the curves cannot be chunked! rechunked_data = data.chunk(chunking) - rechunked_data.persist() + rechunked_data = rechunked_data.persist() def wrapper(f): def _wrap(*args, **kwargs): diff --git a/pyproject.toml b/pyproject.toml index f136374e..a64890b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openeo-processes-dask" -version = "2023.10.4" +version = "2023.10.5" description = "Python implementations of many OpenEO processes, dask-friendly by default." authors = ["Lukas Weidenholzer ", "Sean Hoyal ", "Valentina Hutter "] maintainers = ["EODC Staff "]