Commit ea6a7d01 authored by Alexander Froch's avatar Alexander Froch
Browse files

Merge branch birk-add-anchors-to-plotting_umami with refs/heads/master into...

Merge branch birk-add-anchors-to-plotting_umami with refs/heads/master into refs/merge-requests/545/train
parents 390c8ae2 a42b7dd0
Pipeline #3982236 passed with stages
in 19 minutes and 18 seconds
......@@ -67,7 +67,8 @@ def plot_trks_variables(plot_config, plot_type):
plot_config["Eval_parameters"] = translate_kwargs(plot_config["Eval_parameters"])
# Iterate over the different plots which are to be plotted
for plot_name, plotting_config in plot_config.items():
if plot_name == "Eval_parameters" or plot_name[0] == ".":
# Skip general "Eval_parameters" and yaml anchors (have to start with a dot)
if plot_name == "Eval_parameters" or plot_name.startswith("."):
continue
if plotting_config["variables"] == "jets":
......@@ -150,7 +151,8 @@ def plot_jets_variables(plot_config, plot_type):
plot_config["Eval_parameters"] = translate_kwargs(plot_config["Eval_parameters"])
# Iterate over the different plots which are to be plotted
for plot_name, plotting_config in plot_config.items():
if plot_name == "Eval_parameters" or plot_name[0] == ".":
# Skip general "Eval_parameters" and yaml anchors (have to start with a dot)
if plot_name == "Eval_parameters" or plot_name.startswith("."):
continue
if plotting_config["variables"] == "tracks":
......
......@@ -582,8 +582,8 @@ def set_up_plots(
# Iterate over the different plots which are to be plotted
for plot_name, plot_config in tqdm(plotting_config.items()):
# Skip Eval parameters
if plot_name == "Eval_parameters":
# Skip general "Eval_parameters" and yaml anchors (have to start with a dot)
if plot_name == "Eval_parameters" or plot_name.startswith("."):
continue
# Define the path to the new plot
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment