From 6d559e3e62b2c0855f7af7f66eb29a73986e3a52 Mon Sep 17 00:00:00 2001 From: James Sandford Date: Thu, 18 Jun 2026 13:31:13 +0100 Subject: [PATCH] Make example code match adjacent diagram in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a1d6ac03..67b77dd7 100644 --- a/README.md +++ b/README.md @@ -166,12 +166,12 @@ Note that the `object_ts` may be a different precision or timebase to the nanose ```python object_ts = to_timestamp(ts) # `4:0` for `ts = 4.0sec` -offset_object_ts = object_ts + ts_offset # `4:0 + -0:700000000 = 3:300000000` (in Flow timeline) +offset_object_ts = object_ts + ts_offset # `4:0 + -0:800000000 = 3:200000000` (in Flow timeline) if (offset_object_ts < timerange.start or - offset_object_ts >= timerange.end): # `3:300000000 is less than 3:500000000` + offset_object_ts >= timerange.end): # `3:200000000 is less than 3:500000000` discard_grain() # So this grain is discarded else: - keep_grain() # The first grain to be retained will have `object_ts = 4.2` + keep_grain() # The first grain to be retained will have `object_ts = 4.3` # (and `offset_object_ts = 3:500000000 or 3.5sec)` ```