From 3c6b324379e4c80b1ff097eed8b4a068e68710b2 Mon Sep 17 00:00:00 2001 From: David Hendriks <davidhendriks93@gmail.com> Date: Fri, 21 Feb 2020 17:09:03 +0000 Subject: [PATCH] fixed bug --- tests/population/scaling/scaling_script.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/population/scaling/scaling_script.py b/tests/population/scaling/scaling_script.py index fafc8450b..7831cb495 100644 --- a/tests/population/scaling/scaling_script.py +++ b/tests/population/scaling/scaling_script.py @@ -16,7 +16,7 @@ hostname = socket.gethostname() if amount_of_cpus <= 4: stepsize = 1 -elif 4 < amount_of_cpus <= 24: +elif 4 < amount_of_cpus: stepsize = 2 # elif 24 < amount_of_cpus <= 48: # stepsize = 4 @@ -123,4 +123,4 @@ result_dict['mp'] = mp_dict with open('scaling_results/{}_{}_systems.json'.format(hostname, total_systems), 'w') as f: - f.write(json.dumps(result_dict)) \ No newline at end of file + f.write(json.dumps(result_dict)) -- GitLab