From d8d7fa662b2dbc4c9a4574921fd7e32d7f03c176 Mon Sep 17 00:00:00 2001 From: merwanehamadi Date: Fri, 11 Aug 2023 20:32:23 -0700 Subject: [PATCH] Use index.html instead of dependencies.html (#293) --- agbenchmark/utils/dependencies/graphs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/agbenchmark/utils/dependencies/graphs.py b/agbenchmark/utils/dependencies/graphs.py index 241afe94..81d36768 100644 --- a/agbenchmark/utils/dependencies/graphs.py +++ b/agbenchmark/utils/dependencies/graphs.py @@ -266,7 +266,7 @@ def graph_interactive_network( "layout": {"hierarchical": hierarchical_options}, } - relative_path = "agbenchmark/challenges/skill_tree/dependencies.html" + relative_path = "agbenchmark/challenges/skill_tree/index.html" file_path = str(Path(relative_path).resolve()) if show: @@ -278,7 +278,7 @@ def graph_interactive_network( ["Task: ", "Click on a skill to to see the task"], ] - iframe_path = "dependencies.html" + iframe_path = "index.html" combined_file_path = "agbenchmark/challenges/skill_tree/combined_view.html" create_combined_html(combined_file_path, iframe_path, table_data) @@ -295,7 +295,7 @@ def graph_interactive_network( """ # Path to the iframe HTML file - iframe_path = "agbenchmark/challenges/skill_tree/dependencies.html" + iframe_path = "agbenchmark/challenges/skill_tree/index.html" # Insert the JS code snippet into the iframe HTML file insert_js_into_iframe(iframe_path, iframe_js_code)