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

Use specific names for output files

These files will usually be created in the same directory.
parent 6ccafc61
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ def node_to_prop(node_list, e_overestim, SHPC, orientation): ...@@ -105,7 +105,7 @@ def node_to_prop(node_list, e_overestim, SHPC, orientation):
t0 = time.perf_counter() t0 = time.perf_counter()
timings = open("timings.txt", "w") timings = open("timings_cost.txt", "w")
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("SHPC_dir") parser.add_argument("SHPC_dir")
parser.add_argument("orientation", choices=["Anticyclones", "Cyclones"]) parser.add_argument("orientation", choices=["Anticyclones", "Cyclones"])
......
...@@ -33,7 +33,7 @@ def new_traj(ind_traj, traj_prop, n, traj_vert_ind): ...@@ -33,7 +33,7 @@ def new_traj(ind_traj, traj_prop, n, traj_vert_ind):
t0 = time.perf_counter() t0 = time.perf_counter()
timings_file = open("timings.txt", "w") timings_file = open("timings_trajectories.txt", "w")
if len(sys.argv) != 2: if len(sys.argv) != 2:
sys.exit("Required argument: input-graph") sys.exit("Required argument: input-graph")
g = graph_tool.load_graph(sys.argv[1]) g = graph_tool.load_graph(sys.argv[1])
......
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