From 277a1b317b7c6d1d0f783959f405d9998832a802 Mon Sep 17 00:00:00 2001 From: eberrigan Date: Mon, 26 Aug 2024 09:54:34 -0700 Subject: [PATCH] fix definition of `crown_curve_indices` --- sleap_roots/trait_pipelines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sleap_roots/trait_pipelines.py b/sleap_roots/trait_pipelines.py index 26a9428..44ec934 100644 --- a/sleap_roots/trait_pipelines.py +++ b/sleap_roots/trait_pipelines.py @@ -1597,8 +1597,8 @@ def define_traits(self) -> List[TraitDef]: ), TraitDef( name="crown_curve_indices", - fn=get_base_tip_dist, - input_traits=["crown_base_pts", "crown_tip_pts"], + fn=get_curve_index, + input_traits=["crown_lengths", "crown_base_tip_dists"], scalar=False, include_in_csv=True, kwargs={},