From 3370733ad7bc610a459465b229c029aae74427b9 Mon Sep 17 00:00:00 2001
From: Lionel GUEZ <guez@lmd.ens.fr>
Date: Thu, 11 Mar 2021 22:17:40 +0100
Subject: [PATCH] Remove title line

Because we want to be able to easily read the edgelist with several
graph programs and they would not all accept the same
header. `read_edgelist` from Networkx accepts a comment line starting
with a special character. Not very elegant to put column headers after
a #. Anyway, the headers predecessor and successor are obvious for an
edge list.
---
 Convert_Matlab/overlap_v6.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Convert_Matlab/overlap_v6.py b/Convert_Matlab/overlap_v6.py
index 4baa1582..56769e42 100755
--- a/Convert_Matlab/overlap_v6.py
+++ b/Convert_Matlab/overlap_v6.py
@@ -22,7 +22,6 @@ print("e_overestim =", e_overestim)
 
 with open(f"edgelist_{orientation}.csv", "w", newline = '') as edgelist:
     writer = csv.writer(edgelist, delimiter = ' ', lineterminator = "\n")
-    writer.writerow(["predecessor", "successor"])
 
     for k1 in range(n_dates):
         for i1, id_child_1 in enumerate(id_child[:n_eddies[k1], k1]):
-- 
GitLab