IndexAndRefine: Don't refine unit cell when optimizing rotation result

This commit is contained in:
2026-01-27 14:57:55 +01:00
parent a86f261275
commit 54fa2aa45b
+3 -1
View File
@@ -103,8 +103,10 @@ void IndexAndRefine::RefineGeometryIfNeeded(DataMessage &msg, IndexAndRefine::In
.max_time = 0.04 // 40 ms is max allowed time for the operation
};
if (experiment.IsRotationIndexing())
if (experiment.IsRotationIndexing()) {
data.refine_beam_center = false;
data.refine_unit_cell = false;
}
if (outcome.symmetry.crystal_system == gemmi::CrystalSystem::Trigonal)
data.crystal_system = gemmi::CrystalSystem::Hexagonal;