diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 0d3b532..ace7359 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -6,6 +6,7 @@ package: + source: path: .. diff --git a/pyproject.toml b/pyproject.toml index 6451f39..7415062 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ build = "cp{311,312,313}-manylinux_x86_64" + [tool.scikit-build] build.verbose = true cmake.build-type = "Release" diff --git a/src/ClusterFile.test.cpp b/src/ClusterFile.test.cpp index a7fc044..4152ce0 100644 --- a/src/ClusterFile.test.cpp +++ b/src/ClusterFile.test.cpp @@ -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") {