Skip to content

Commit

Permalink
Add news
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeilstenedmands committed Jan 9, 2024
1 parent f816146 commit d5fcc0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions newsfragments/XXX.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``dials.reindex``: When reindexing against a reference, use the best cell when determining lattice symmetry.
4 changes: 2 additions & 2 deletions src/dials/command_line/reindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ def run(args=None):
)

reference_crystal = reference_experiments.crystals()[0]
reference_crystal.unit_cell = determine_best_unit_cell(
reference_experiments
reference_crystal.set_unit_cell(
determine_best_unit_cell(reference_experiments)
)

if params.reference.reflections is not None:
Expand Down

0 comments on commit d5fcc0d

Please sign in to comment.