From 9d6077d02745e65a0b7aa76e6f1bd2f24847e8a9 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Fri, 1 Mar 2024 13:31:26 +0100 Subject: [PATCH] Polish --- Overlap/Analysis/plot_components.py | 6 ++++++ Overlap/Analysis/report_graph.py | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Overlap/Analysis/plot_components.py b/Overlap/Analysis/plot_components.py index a1e60668..46615471 100755 --- a/Overlap/Analysis/plot_components.py +++ b/Overlap/Analysis/plot_components.py @@ -1,5 +1,11 @@ #!/usr/bin/env python3 +"""This script plots markers on a map for the position of extrema and +arrows between markers for edges in the graph. The color changes with +the component of the graph. + +""" + import itertools import sys diff --git a/Overlap/Analysis/report_graph.py b/Overlap/Analysis/report_graph.py index 3b8dde00..a8f89c09 100755 --- a/Overlap/Analysis/report_graph.py +++ b/Overlap/Analysis/report_graph.py @@ -1,10 +1,10 @@ #!/usr/bin/env python3 -"""This script reads an edgelist. Note that the script loads the whole -graph into memory, with networkx. For the global graph on 30 years, -this requires about 13 GiB of main memory. The file e_overestim.txt -has to be in the same directory as the edgelist file given as argument -of the script. +"""This script reads an edgelist and prints some information about the +corresponding graph. Note that the script loads the whole graph into +memory, with networkx. For the global graph on 30 years, this requires +about 13 GiB of main memory. The file e_overestim.txt has to be in the +same directory as the edgelist file given as argument of the script. """ -- GitLab