From e455550ce944b5fb6da031755e5ab0dd762fbe85 Mon Sep 17 00:00:00 2001 From: Lionel GUEZ <guez@lmd.ens.fr> Date: Wed, 21 Feb 2024 23:37:42 +0100 Subject: [PATCH] Move import to "main part" of the script --- Overlap/Analysis/plot_components.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Overlap/Analysis/plot_components.py b/Overlap/Analysis/plot_components.py index 76e2b246..4413b856 100755 --- a/Overlap/Analysis/plot_components.py +++ b/Overlap/Analysis/plot_components.py @@ -9,7 +9,6 @@ import numpy as np from matplotlib import patches import cartopy.crs as ccrs -import report_graph import util_eddies import extract_component_nx @@ -152,6 +151,8 @@ if __name__ == "__main__": from os import path import time + import report_graph + parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("edgelist", help="path to input CSV file") parser.add_argument("shpc_dir", help="directory containing SHPC") -- GitLab