diff --git a/Framework/DataHandling/src/LoadEventNexus.cpp b/Framework/DataHandling/src/LoadEventNexus.cpp index ec08743f785a903dae239a1e7e5c4c8d12e037d4..d3efd960d5d7c456efb19068603961f7056b4645 100644 --- a/Framework/DataHandling/src/LoadEventNexus.cpp +++ b/Framework/DataHandling/src/LoadEventNexus.cpp @@ -864,11 +864,11 @@ void LoadEventNexus::loadEvents(API::Progress *const prog, try { ParallelEventLoader::load(*ws, m_filename, m_top_entry_name, bankNames); loaded = true; + shortest_tof = 0.0; + longest_tof = 1e10; } catch (const std::runtime_error &) { } safeOpenFile(m_filename); - shortest_tof = 0.0; - longest_tof = 1e10; } if (!loaded) { bool precount = getProperty("Precount");