From d9f6c620db55bec52351d63791db124eb6fefe56 Mon Sep 17 00:00:00 2001 From: chris Mitchell Date: Wed, 30 Oct 2024 15:28:30 -0400 Subject: [PATCH] Fix intervaltree --- src/models/block_group.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/block_group.rs b/src/models/block_group.rs index 9dadc7b..8a5f3ec 100644 --- a/src/models/block_group.rs +++ b/src/models/block_group.rs @@ -1923,7 +1923,7 @@ mod tests { chromosome_index: 1, phased: 0, }; - let tree = Path::intervaltree_for(conn, &path); + let tree = path.intervaltree(conn); BlockGroup::insert_change(conn, &change, &tree); let tree = BlockGroup::intervaltree_for(conn, block_group_id, false);