Skip to content
Snippets Groups Projects
Commit 1cdaf061 authored by Andi Gerken's avatar Andi Gerken
Browse files

Added simplification to evaluate_all

parent 23654f46
No related branches found
No related tags found
No related merge requests found
Pipeline #41054 passed
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
# Last doku update Feb 2021 # Last doku update Feb 2021
import robofish.io import robofish.io
import robofish.evaluate
from pathlib import Path from pathlib import Path
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
...@@ -711,6 +712,10 @@ def evaluate_all( ...@@ -711,6 +712,10 @@ def evaluate_all(
save_folder.mkdir(exist_ok=True) save_folder.mkdir(exist_ok=True)
if fdict is None:
fdict = robofish.evaluate.app.function_dict()
fdict.pop("all")
t = tqdm(fdict.items(), desc="Evaluation", leave=True) t = tqdm(fdict.items(), desc="Evaluation", leave=True)
for f_name, f_callable in t: for f_name, f_callable in t:
t.set_description(f_name) t.set_description(f_name)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment