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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user