mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-16 17:27:14 +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]") {
|
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);
|
||||||
|
|
||||||
|
@ -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.");
|
||||||
|
Reference in New Issue
Block a user