From babe245f76d90145134665599b7b977b40c3778d Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Fri, 25 Oct 2024 12:27:20 +0000 Subject: [PATCH] Pre-merge code cleanup --- src/opticalcontroller/dijsktra.py | 2 +- src/opticalcontroller/requirements.in | 2 -- src/webui/service/templates/js/topology.js | 3 +-- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/opticalcontroller/dijsktra.py b/src/opticalcontroller/dijsktra.py index 6130799b1..058d59e75 100644 --- a/src/opticalcontroller/dijsktra.py +++ b/src/opticalcontroller/dijsktra.py @@ -237,4 +237,4 @@ if __name__ == '__main__': print ('The shortest path : %s' %(path[::-1]))""" p = shortest_path(g, g.get_vertex('a'), g.get_vertex('e')) - print(p) \ No newline at end of file + print(p) diff --git a/src/opticalcontroller/requirements.in b/src/opticalcontroller/requirements.in index 2e552cff8..15b3ca3a4 100644 --- a/src/opticalcontroller/requirements.in +++ b/src/opticalcontroller/requirements.in @@ -12,8 +12,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - - aniso8601==9.0.1 attrs==23.1.0 blinker==1.6.2 diff --git a/src/webui/service/templates/js/topology.js b/src/webui/service/templates/js/topology.js index 9d043e07a..8f5a383c6 100644 --- a/src/webui/service/templates/js/topology.js +++ b/src/webui/service/templates/js/topology.js @@ -51,7 +51,7 @@ const svg = d3.select('#topology') ; // svg objects -var link, node ,optical_link; +var link, node, optical_link; // values for all forces forceProperties = { @@ -69,7 +69,6 @@ var simulation = d3.forceSimulation(); // load the data d3.json("{{ url_for('main.topology') }}", function(data) { - console.log(data) // set the data and properties of link lines and node circles link = svg.append("g").attr("class", "links")//.style('stroke', '#aaa') .selectAll("line") -- GitLab