mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-16 09:17:12 +02:00
fatal error did not open any subfiles
This commit is contained in:
@ -58,8 +58,10 @@ class ClusterFinderMTWrapper
|
||||
};
|
||||
|
||||
TEST_CASE("multithreaded cluster finder", "[.files][.ClusterFinder]") {
|
||||
auto fpath = "/mnt/sls_det_storage/matterhorn_data/aare_test_data/"
|
||||
"Moench03new/cu_half_speed_master_4.json";
|
||||
auto fpath =
|
||||
test_data_path() / "clust/Moench03new/cu_half_speed_master_4.json";
|
||||
|
||||
REQUIRE(std::filesystem::exists(fpath));
|
||||
|
||||
File file(fpath);
|
||||
|
||||
|
@ -21,8 +21,8 @@ RawFile::RawFile(const std::filesystem::path &fname, const std::string &mode)
|
||||
if (mode == "r") {
|
||||
if (m_master.roi()) {
|
||||
m_geometry.update_geometry_with_roi(m_master.roi().value());
|
||||
open_subfiles();
|
||||
}
|
||||
open_subfiles();
|
||||
} else {
|
||||
throw std::runtime_error(LOCATION +
|
||||
" Unsupported mode. Can only read RawFiles.");
|
||||
|
Reference in New Issue
Block a user