From 409547dd58a6b0fc3d89072e08516c3073b104d9 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas@kluyver.me.uk> Date: Fri, 28 May 2021 15:10:15 +0100 Subject: [PATCH] Number of threads is an integer --- notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index 95c88f91a..3fdf35bc8 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -424,7 +424,7 @@ " h5_index_path=h5path_idx,\n", " corr_bools=corr_bools,\n", " gain_mode=gain_mode,\n", - " comp_threads=os.cpu_count() / n_cores_files,\n", + " comp_threads=os.cpu_count() // n_cores_files,\n", ")\n", "\n", "agipd_corr.baseline_corr_noise_threshold = -blc_noise_threshold\n", -- GitLab