From 916bfc49d7d602e002e79816508e1be7709b4fb6 Mon Sep 17 00:00:00 2001 From: John Elizarraras Date: Thu, 21 Nov 2024 10:36:46 -0600 Subject: [PATCH] use different nta method --- src/rust/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rust/src/lib.rs b/src/rust/src/lib.rs index 3d1894c..aaf639e 100644 --- a/src/rust/src/lib.rs +++ b/src/rust/src/lib.rs @@ -91,7 +91,7 @@ pub fn nta_rust(edge_list: Robj, seeds: Robj) -> List { tolerance: 1e-6, ..Default::default() }; - let res = get_nta(config); + let res = process_nta(config); let nodes: Vec = res.iter().map(|(x, _)| x.to_string()).collect(); let scores: Vec = res.iter().map(|(_, x)| *x).collect(); list!(nodes = nodes, scores = scores)