diff --git a/piker/tsp/_anal.py b/piker/tsp/_anal.py index ea78c46a..42c3aa6c 100644 --- a/piker/tsp/_anal.py +++ b/piker/tsp/_anal.py @@ -517,7 +517,7 @@ def with_dts( ''' return df.with_columns([ - pl.col(time_col).shift(1).suffix('_prev'), + pl.col(time_col).shift(1).name.suffix('_prev'), pl.col(time_col).diff().alias('s_diff'), pl.from_epoch(pl.col(time_col)).alias('dt'), ]).with_columns([ @@ -623,7 +623,7 @@ def detect_vlm_gaps( ) -> pl.DataFrame: - vnull: pl.DataFrame = w_dts.filter( + vnull: pl.DataFrame = df.filter( pl.col(col) == 0 ) return vnull diff --git a/pyproject.toml b/pyproject.toml index 7a6de4e7..14a0a6b4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -55,7 +55,8 @@ dependencies = [ "ib-insync >=0.9.86, <0.10.0", "numba >=0.59.0, <0.60.0", "numpy >=1.25, <2.0", - "polars >=0.18.13, <0.19.0", + "polars >=0.20.6", + "polars-fuzzy-match>=0.1.5", "pygments >=2.16.1, <3.0.0", "rich >=13.5.2, <14.0.0", "tomli >=2.0.1, <3.0.0", @@ -75,6 +76,7 @@ dependencies = [ "tractor", "asyncvnc", "tomlkit", + "trio-typing>=0.10.0", ] [project.optional-dependencies] @@ -130,4 +132,4 @@ pyqtgraph = { git = "https://github.com/pikers/pyqtgraph.git" } asyncvnc = { git = "https://github.com/pikers/asyncvnc.git", branch = "main" } tomlkit = { git = "https://github.com/pikers/tomlkit.git", branch ="piker_pin" } msgspec = { git = "https://github.com/jcrist/msgspec.git" } -tractor = { path = "../tractor", editable = true } +tractor = { git = "https://pikers.dev/goodboy/tractor", branch = "aio_abandons" }