From d917562452940af6aa811f81246c2666e2903e42 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Veyry Date: Thu, 11 Apr 2024 18:24:41 +0100 Subject: [PATCH] doc: filters: fix wrong example in mapne doc Change-Id: I3b997735281057bad8a8fb6b055b5664c8608f03 --- docsrc/doc/filters.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docsrc/doc/filters.rst b/docsrc/doc/filters.rst index 45cbda0..3d94c12 100644 --- a/docsrc/doc/filters.rst +++ b/docsrc/doc/filters.rst @@ -509,7 +509,7 @@ if its result is not empty. This applies to each entry of the filtered :ref:`tim } >>> _ | map(mean(_value)) error: cannot compute mean of empty timeseries - >>> _ | mapne(_value, mean(_value)) + >>> _ | mapne(mean(_value), _value) dict { pathElement1: 2.5 pathElement2: 6.5 @@ -524,13 +524,14 @@ if its result is not empty. This applies to each entry of the filtered :ref:`tim } >>> _ | map(mean(_value)) error: cannot compute mean of empty dict - >>> _ | mapne(_value, mean(_value) + 12) + >>> _ | mapne(mean(_value) + 12, _value) timeseries{ tstamp1: 14.5 tstamp2: 14.5 tstamp4: 14.5 } + .. _recmap: recmap