From f4d764b0b2ad93c91678804452fe22d3c2c497b5 Mon Sep 17 00:00:00 2001
From: Cyril Danilevski <cydanil@gmail.com>
Date: Thu, 12 Aug 2021 21:38:17 +0200
Subject: [PATCH] Remove driver=core from DSSC notebooks

---
 notebooks/DSSC/DSSC_Correct_and_Verify.ipynb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb b/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb
index cb01d46d1..b29f2e2d9 100644
--- a/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb
+++ b/notebooks/DSSC/DSSC_Correct_and_Verify.ipynb
@@ -292,7 +292,7 @@
     "    \n",
     "    detinst = getattr(Detectors, dinstance)\n",
     "    device = getattr(detinst, qm)\n",
-    "    with h5py.File(filename, \"r\", driver=\"core\") as infile:\n",
+    "    with h5py.File(filename, \"r\") as infile:\n",
     "        y = infile[f\"{h5path}/data\"].shape[2]\n",
     "        x = infile[f\"{h5path}/data\"].shape[3]\n",
     "    offset, when = get_constant_from_db_and_time(karabo_id, karabo_da,\n",
@@ -328,7 +328,7 @@
     "        infile.visititems(visitor)\n",
     "\n",
     "    try:\n",
-    "        with h5py.File(filename, \"r\", driver=\"core\") as infile:\n",
+    "        with h5py.File(filename, \"r\") as infile:\n",
     "            with h5py.File(filename_out, \"w\") as outfile:\n",
     "                copy_and_sanitize_non_cal_data(infile, outfile)\n",
     "                # get indices of last images in each train\n",
-- 
GitLab