fatal error did not open any subfiles
All checks were successful
Build on RHEL8 / build (push) Successful in 2m56s
Build on RHEL9 / build (push) Successful in 2m59s

This commit is contained in:
2025-06-13 18:12:47 +02:00
parent b13f864b2b
commit 35114cde9d
2 changed files with 5 additions and 3 deletions

View File

@ -58,8 +58,10 @@ class ClusterFinderMTWrapper
}; };
TEST_CASE("multithreaded cluster finder", "[.files][.ClusterFinder]") { TEST_CASE("multithreaded cluster finder", "[.files][.ClusterFinder]") {
auto fpath = "/mnt/sls_det_storage/matterhorn_data/aare_test_data/" auto fpath =
"Moench03new/cu_half_speed_master_4.json"; test_data_path() / "clust/Moench03new/cu_half_speed_master_4.json";
REQUIRE(std::filesystem::exists(fpath));
File file(fpath); File file(fpath);

View File

@ -21,8 +21,8 @@ RawFile::RawFile(const std::filesystem::path &fname, const std::string &mode)
if (mode == "r") { if (mode == "r") {
if (m_master.roi()) { if (m_master.roi()) {
m_geometry.update_geometry_with_roi(m_master.roi().value()); m_geometry.update_geometry_with_roi(m_master.roi().value());
open_subfiles();
} }
open_subfiles();
} else { } else {
throw std::runtime_error(LOCATION + throw std::runtime_error(LOCATION +
" Unsupported mode. Can only read RawFiles."); " Unsupported mode. Can only read RawFiles.");