diff --git a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb index c0eb25b22b52d12adb081fa04e2228eb11a2df5b..7d5c758ffe776d861d8b3bba690c6068b65c0b90 100644 --- a/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb +++ b/notebooks/AGIPD/AGIPD_Correct_and_Verify.ipynb @@ -593,11 +593,14 @@ "metadata": {}, "outputs": [], "source": [ + "step_timer.start()\n", + "\n", "with multiprocessing.Pool() as pool:\n", + " step_timer.done_step('Started pool')\n", + " \n", " for file_batch in batches(file_list, n_cores_files):\n", " # TODO: Move some printed output to logging or similar\n", " print(f\"Processing next {len(file_batch)} files\")\n", - " step_timer.start()\n", " img_counts = pool.starmap(agipd_corr.read_file, zip(range(len(file_batch)), file_batch,\n", " [not common_mode]*len(file_batch)))\n", " step_timer.done_step(f'Loading data from files')\n",