Merge branch 'developer' of github.com:slsdetectorgroup/aare into developer
All checks were successful
Build on RHEL9 / build (push) Successful in 1m59s
Build on RHEL8 / build (push) Successful in 2m29s

This commit is contained in:
froejdh_e 2025-04-22 16:24:32 +02:00
commit 129e7e9f9d
3 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,7 @@ package:
source:
path: ..

View File

@ -18,6 +18,7 @@ build = "cp{311,312,313}-manylinux_x86_64"
[tool.scikit-build]
build.verbose = true
cmake.build-type = "Release"

View File

@ -11,6 +11,7 @@
using aare::ClusterFile;
TEST_CASE("Read one frame from a a cluster file", "[.files]") {
//We know that the frame has 97 clusters
auto fpath = test_data_path() / "clust" / "single_frame_97_clustrers.clust";
@ -22,6 +23,7 @@ TEST_CASE("Read one frame from a a cluster file", "[.files]") {
REQUIRE(clusters.frame_number() == 135);
}
TEST_CASE("Read one frame using ROI", "[.files]") {
//We know that the frame has 97 clusters
auto fpath = test_data_path() / "clust" / "single_frame_97_clustrers.clust";
@ -50,9 +52,11 @@ TEST_CASE("Read one frame using ROI", "[.files]") {
}
TEST_CASE("Read clusters from single frame file", "[.files]") {
auto fpath = test_data_path() / "clust" / "single_frame_97_clustrers.clust";
REQUIRE(std::filesystem::exists(fpath));
SECTION("Read fewer clusters than available") {