Skip to content
Snippets Groups Projects
Commit 20d0ba05 authored by Sören Henning's avatar Sören Henning
Browse files

Minor style fix

parent 65c23790
No related branches found
No related tags found
1 merge request!190Update demant-metric notebooks in order to run with the new implementation
......@@ -8,7 +8,7 @@ def demand(exp_id, directory, threshold, warmup_sec):
raw_runs = []
# Compute SL, i.e., lag trend, for each tested configuration
filenames = [filename for filename in os.listdir(directory) if filename.startswith(f"exp{exp_id}") and filename.__contains__("lag-trend") and filename.endswith(".csv")]
filenames = [filename for filename in os.listdir(directory) if filename.startswith(f"exp{exp_id}") and "lag-trend" in filename and filename.endswith(".csv")]
for filename in filenames:
#print(filename)
run_params = filename[:-4].split("_")
......
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