From 6517419f8ba7b212936e803e05666c087ee0bff6 Mon Sep 17 00:00:00 2001 From: Cyril Danilevski <cydanil@gmail.com> Date: Mon, 23 Jan 2023 14:01:05 +0100 Subject: [PATCH] JF Correct: explicitly ingore voview on read HED validates raw runs, creating a voview file in the process. EXtra-data then uses this to open the run, but this doesn't work as a context manager. --- notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb index 89391efcd..1c1cfae94 100644 --- a/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb +++ b/notebooks/Jungfrau/Jungfrau_Gain_Correct_and_Verify_NBC.ipynb @@ -694,7 +694,7 @@ "mask = jf_corr.get_array(\"data.mask\")[:, :, cell_idx_preview, ...].values\n", "mask_train = jf_corr_data[\"data.mask\"][:, cell_idx_preview, ...].values\n", "\n", - "with RunDirectory(f\"{in_folder}/r{run:04d}/\", f\"*S{first_seq:05d}*\") as raw_dc:\n", + "with RunDirectory(f\"{in_folder}/r{run:04d}/\", f\"*S{first_seq:05d}*\", _use_voview=False) as raw_dc:\n", "\n", " # Reading RAW data for plotting.\n", " jf_raw = components.JUNGFRAU(raw_dc, detector_name=karabo_id).select_trains(\n", -- GitLab