Skip to content
Snippets Groups Projects
Commit 3370733a authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

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.
parent 6096420f
No related branches found
No related tags found
No related merge requests found
......@@ -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]):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment