v1.0.0-rc.148 (#58)
Build Packages / Unit tests (push) Skipped
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 9m28s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 10m9s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 9m47s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 10m58s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 11m39s
Build Packages / build:rpm (rocky8) (push) Successful in 11m43s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 12m59s
Build Packages / Generate python client (push) Successful in 35s
Build Packages / Build documentation (push) Successful in 59s
Build Packages / Create release (push) Skipped
Build Packages / build:rpm (ubuntu2204) (push) Successful in 11m48s
Build Packages / build:rpm (rocky9) (push) Successful in 12m32s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 10m24s
Build Packages / XDS test (durin plugin) (push) Successful in 7m35s
Build Packages / XDS test (neggia plugin) (push) Successful in 6m50s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 7m40s
Build Packages / DIALS test (push) Successful in 11m19s
Build Packages / Unit tests (push) Skipped
Build Packages / build:rpm (rocky8_nocuda) (push) Successful in 9m28s
Build Packages / build:rpm (rocky9_nocuda) (push) Successful in 10m9s
Build Packages / build:rpm (ubuntu2404_nocuda) (push) Successful in 9m47s
Build Packages / build:rpm (ubuntu2204_nocuda) (push) Successful in 10m58s
Build Packages / build:rpm (rocky8_sls9) (push) Successful in 11m39s
Build Packages / build:rpm (rocky8) (push) Successful in 11m43s
Build Packages / build:rpm (rocky9_sls9) (push) Successful in 12m59s
Build Packages / Generate python client (push) Successful in 35s
Build Packages / Build documentation (push) Successful in 59s
Build Packages / Create release (push) Skipped
Build Packages / build:rpm (ubuntu2204) (push) Successful in 11m48s
Build Packages / build:rpm (rocky9) (push) Successful in 12m32s
Build Packages / build:rpm (ubuntu2404) (push) Successful in 10m24s
Build Packages / XDS test (durin plugin) (push) Successful in 7m35s
Build Packages / XDS test (neggia plugin) (push) Successful in 6m50s
Build Packages / XDS test (JFJoch plugin) (push) Successful in 7m40s
Build Packages / DIALS test (push) Successful in 11m19s
This is an UNSTABLE release. The release has significant modifications for data processing - in case of troubles go back to 1.0.0-rc.144. * jfjoch_broker: Improve azimuthal integration (add <I^2> calculation) * jfjoch_broker: Fixes around indexing, aiming to handle multi-lattice crystals (work in progress, it is not fully integrated) * jfjoch_writer: Save mean(I), stddev(I), and count(I) for each azimuthal bin Reviewed-on: #58
This commit was merged in pull request #58.
This commit is contained in:
@@ -218,10 +218,26 @@ TEST_CASE("FFTIndexer","[Indexing]") {
|
||||
auto end = std::chrono::high_resolution_clock::now();
|
||||
|
||||
REQUIRE(result.lattice.size() == 1);
|
||||
|
||||
auto uc_out = result.lattice[0].GetUnitCell();
|
||||
CHECK(uc_out.a == Catch::Approx(uc.a));
|
||||
CHECK(uc_out.b == Catch::Approx(uc.b));
|
||||
CHECK(uc_out.c == Catch::Approx(uc.c));
|
||||
|
||||
// Collect and sort both sets of lengths to compare order-independently
|
||||
std::array<float, 3> out_lengths = {
|
||||
static_cast<float>(uc_out.a),
|
||||
static_cast<float>(uc_out.b),
|
||||
static_cast<float>(uc_out.c)
|
||||
};
|
||||
std::array<float, 3> ref_lengths = {
|
||||
static_cast<float>(uc.a),
|
||||
static_cast<float>(uc.b),
|
||||
static_cast<float>(uc.c)
|
||||
};
|
||||
std::sort(out_lengths.begin(), out_lengths.end());
|
||||
std::sort(ref_lengths.begin(), ref_lengths.end());
|
||||
|
||||
CHECK(out_lengths[0] == Catch::Approx(ref_lengths[0]));
|
||||
CHECK(out_lengths[1] == Catch::Approx(ref_lengths[1]));
|
||||
CHECK(out_lengths[2] == Catch::Approx(ref_lengths[2]));
|
||||
|
||||
CHECK(uc_out.alpha == Catch::Approx(uc.alpha));
|
||||
CHECK(uc_out.beta == Catch::Approx(uc.beta));
|
||||
|
||||
Reference in New Issue
Block a user