IndexAndRefine: Don't allow zero size/very small volume
This commit is contained in:
@@ -70,6 +70,9 @@ IndexAndRefine::IndexingOutcome IndexAndRefine::DetermineLatticeAndSymmetry(Data
|
||||
return outcome;
|
||||
|
||||
auto latt = indexer_result.lattice[0];
|
||||
if (latt.CalcVolume() < 1.0)
|
||||
return outcome;
|
||||
|
||||
auto sg = experiment.GetGemmiSpaceGroup();
|
||||
|
||||
// If space group and cell provided => always enforce symmetry in refinement
|
||||
|
||||
Reference in New Issue
Block a user