IndexerThreadPool: Remove check for spot count prior to scheduling to run the task. This will introduce bias in the result - as images without spots will increase number of non-indexed images.
This commit is contained in:
@@ -212,8 +212,6 @@ int IndexerThreadPool::GetFreeWorker() {
|
||||
IndexerResult IndexerThreadPool::Run(const DiffractionExperiment &experiment, const std::vector<Coord> &recip) {
|
||||
if (experiment.GetIndexingAlgorithm() == IndexingAlgorithmEnum::None)
|
||||
return IndexerResult{.lattice = {}, .indexing_time_s = 0};
|
||||
if (recip.size() < viable_cell_min_spots)
|
||||
return IndexerResult{.lattice = {}, .indexing_time_s = 0};
|
||||
|
||||
// Check if there is available worker
|
||||
const int task = GetFreeWorker();
|
||||
|
||||
Reference in New Issue
Block a user