From 10b6747ed9302e223614d24ca6d3ea54344e7194 Mon Sep 17 00:00:00 2001
From: Mikhail Karnevskiy <karnem@max-exfl001.desy.de>
Date: Mon, 10 Sep 2018 10:43:27 +0200
Subject: [PATCH] Add module to filename

---
 notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
index 51117e7c2..9005bf56f 100644
--- a/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
+++ b/notebooks/AGIPD/Characterize_AGIPD_Gain_Darks_NBC.ipynb
@@ -363,7 +363,9 @@
     "               }\n",
     "    \n",
     "if local_output:\n",
-    "    ofile = \"{}/agipd_offset_store_{}.h5\".format(out_folder, \"_\".join(offset_runs.values()))\n",
+    "    ofile = \"{}/agipd_offset_store_{}_{}.h5\".format(out_folder, \n",
+    "                                                    \"_\".join(offset_runs.values()),\n",
+    "                                                    qm)\n",
     "    store_file = h5py.File(ofile, \"w\")\n",
     "    for qm in offset_g.keys():\n",
     "        store_file[\"{}/Offset/0/data\".format(qm)] = offset_g[qm]\n",
-- 
GitLab