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

Add output of first and last date

parent 80fce23f
No related branches found
No related tags found
No related merge requests found
...@@ -130,6 +130,16 @@ if __name__ == "__main__": ...@@ -130,6 +130,16 @@ if __name__ == "__main__":
n1 = len_H n1 = len_H
n2 = len_H n2 = len_H
# First and last dates:
node_index = min(G.nodes)
my_date = node_to_date_eddy(node_index, G.graph["e_overestim"])\
["date_index"]
print("First date:", my_date)
node_index = max(G.nodes)
my_date = node_to_date_eddy(node_index, G.graph["e_overestim"])\
["date_index"]
print("Last date:", my_date)
if args.merging: if args.merging:
print("\nMerging:") print("\nMerging:")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment