From f087d1cd7a721c8e1c6e2b056d6e441f96fd3231 Mon Sep 17 00:00:00 2001 From: George Marchment <georgemarchment@yahoo.fr> Date: Mon, 21 Oct 2024 16:53:57 +0200 Subject: [PATCH] update longest name --- src/outils_graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/outils_graph.py b/src/outils_graph.py index 1ef2b2d..577239d 100644 --- a/src/outils_graph.py +++ b/src/outils_graph.py @@ -599,7 +599,7 @@ def get_name_new_node(new_nodes, relevant_modules): #Arbitrary choice of choosing the name with the longest name longest_name = new_nodes[0][0] for name in new_nodes: - if(len(longest_name)>len(name[0])): + if(len(longest_name)<len(name[0])): longest_name = name[0] return longest_name -- GitLab