From cf219033037e5af528e108dfad1384f471c0a81e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=B6ne=2C=20Tjark=20Leon=20Raphael?=
 <tjark.leon.raphael.groene@uni-hamburg.de>
Date: Mon, 16 Jun 2025 15:20:22 +0200
Subject: [PATCH] Update file maxwell_integrate_to_h5.py

---
 maxwell_integrate_to_h5.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/maxwell_integrate_to_h5.py b/maxwell_integrate_to_h5.py
index d098587..1e218a6 100644
--- a/maxwell_integrate_to_h5.py
+++ b/maxwell_integrate_to_h5.py
@@ -102,6 +102,7 @@ def integrate_ims_in_dir(path_im, path_int, dtype_im=".tif", dtype_int=".dat"):
 
         for fname_im in subdir_fnames:
             pool.apply_async(integration_thread, (fname_im, subdir_path_int))
+            print(f"Integrating {fname_im}.")
 
         pool.close()
         pool.join()
@@ -112,6 +113,7 @@ def integrate_ims_in_dir(path_im, path_int, dtype_im=".tif", dtype_int=".dat"):
             subdir_name = os.path.basename(os.path.normpath(subdir_path_int))
             results_df.to_csv(os.path.join(subdir_path_int, f"{subdir_name}.csv"), index=False)
             results_df.to_hdf(os.path.join(subdir_path_int, f"{subdir_name}.h5"), key='data', mode='w')
+            print(f"Results for subdirectory {subdir_name} saved to CSV and HDF5 files.")
             del results_df
         else:
             print(f"No images were integrated in subdirectory {subdir}. No results DataFrame created.")
-- 
GitLab