Indexer: Differentiate between no indexing attempted (e.g., indexer not available) and negative indexing result, so only the other one determines indexing rate

This commit is contained in:
2026-04-19 20:31:08 +02:00
parent dcec74bfb3
commit d5bbd7dbd5
4 changed files with 6 additions and 3 deletions
+3 -2
View File
@@ -61,6 +61,9 @@ IndexAndRefine::IndexingOutcome IndexAndRefine::DetermineLatticeAndSymmetry(Data
auto indexer_result = indexer_->Run(experiment, recip);
msg.indexing_time_s = indexer_result.indexing_time_s;
if (indexer_result.executed)
msg.indexing_result = false;
if (indexer_result.lattice.empty())
return outcome;
@@ -233,8 +236,6 @@ void IndexAndRefine::ProcessImage(DataMessage &msg,
if (!indexer_ || !spot_finding_settings.indexing)
return;
msg.indexing_result = false;
IndexingOutcome outcome(experiment);
if (rotation_indexer)
outcome = DetermineLatticeAndSymmetryRotation(msg);