From fda711130554e08780d8ebf67154b497379c8ca8 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 8 Jun 2023 11:52:59 -0400 Subject: [PATCH] Import from new `.data._timeseries` mod for anal --- piker/storage/cli.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/piker/storage/cli.py b/piker/storage/cli.py index b0ec881a..f7deb92d 100644 --- a/piker/storage/cli.py +++ b/piker/storage/cli.py @@ -150,8 +150,9 @@ def anal( assert first_dt < last_dt src_df = await client.as_df(fqme, period) - df = mod.with_dts(src_df) - gaps: pl.DataFrame = mod.detect_time_gaps(df) + from piker.data import _timeseries as tsmod + df = tsmod.with_dts(src_df) + gaps: pl.DataFrame = tsmod.detect_time_gaps(df) # TODO: something better with tab completion.. # is there something more minimal but nearly as