From 40f02d16cf778cec8536ca63010216306142b5e5 Mon Sep 17 00:00:00 2001
From: karnem <mikhail.karnevskiy@desy.de>
Date: Thu, 30 Jan 2020 09:52:15 +0100
Subject: [PATCH] Chnage timeout var name

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

diff --git a/notebooks/LPD/LPD_Correct_and_Verify.ipynb b/notebooks/LPD/LPD_Correct_and_Verify.ipynb
index 883892ccb..a61ed7762 100644
--- a/notebooks/LPD/LPD_Correct_and_Verify.ipynb
+++ b/notebooks/LPD/LPD_Correct_and_Verify.ipynb
@@ -46,7 +46,7 @@
     "geometry_file = \"/gpfs/exfel/d/cal/exchange/lpdMF_00.h5\" # the geometry file to use, MAR 2018\n",
     "beam_center_offset =  [1.5, 1] # offset from the beam center, MAR 2018\n",
     "sequences_per_node = 1 # sequence files to process per node\n",
-    "timeout_cal_db = 30000 # timeout for calibration db requests in milliseconds\n",
+    "cal_db_timeout = 30000 # timeout for calibration db requests in milliseconds\n",
     "dont_mark_non_lin_region = False # do not mark non-linear regions in BP map\n",
     "linear_between_high_gain = [-5000, 2500]  # region in which high gain is considered linear, in ADU\n",
     "linear_between_med_gain = [300, 3000]  # region in which medium gain is considered linear, in ADU\n",
@@ -397,7 +397,7 @@
     "hists_signal_high =  np.zeros((bins_signal_high_range, max_pulses), np.float64)\n",
     "hists_gain_vs_signal =  np.zeros((bins_gain_vs_signal), np.float64)\n",
     "low_edges, high_edges, signal_edges = None, None, None\n",
-    "dbparms = cal_db_interface, creation_time, max_cells_db, capacitor, bias_voltage, photon_energy, timeout_cal_db\n",
+    "dbparms = cal_db_interface, creation_time, max_cells_db, capacitor, bias_voltage, photon_energy, cal_db_timeout\n",
     "fileparms = calfile\n",
     "\n",
     "whens = {}\n",
-- 
GitLab