RotationIndexer: Separate ProcessImage and GetLattice

This commit is contained in:
2026-05-29 14:58:53 +02:00
parent a6f61b0d8a
commit 4b609a6e06
4 changed files with 38 additions and 30 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ IndexAndRefine::IndexAndRefine(const DiffractionExperiment &x, IndexerThreadPool
IndexAndRefine::IndexingOutcome IndexAndRefine::DetermineLatticeAndSymmetryRotation(DataMessage &msg) {
IndexingOutcome outcome(experiment);
auto result = rotation_indexer->ProcessImage(msg.number, msg.spots);
rotation_indexer->ProcessImage(msg.number, msg.spots);
auto result = rotation_indexer->GetLattice();
if (result) {
// For rotation indexing, indexing rate is calculated only for frames, where "global" rotation indexing solution was found
msg.indexing_result = false;