Skip to content

Commit

Permalink
Minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeilstenedmands committed Jan 9, 2024
1 parent d5fcc0d commit 9abe738
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/dials/util/reindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ def change_of_basis_op_against_reference(
), "No 'intensity.sum.value' in reflections"
table.set_flags(flex.bool(table.size(), True), table.flags.integrated_sum)
# Make miller array of the datasets
cell = determine_best_unit_cell(experiments)
for expt in experiments:
expt.crystal.set_unit_cell(cell)
best_cell = determine_best_unit_cell(experiments)
filter_logger = logging.getLogger("dials.util.filter_reflections")
filter_logger.disabled = True
test_miller_sets = filtered_arrays_from_experiments_reflections(
Expand All @@ -86,7 +84,7 @@ def change_of_basis_op_against_reference(
test_miller_set = test_miller_sets[0]
for d in test_miller_sets[1:]:
test_miller_set = test_miller_set.concatenate(d)

test_miller_set = test_miller_set.customized_copy(unit_cell=best_cell)
change_of_basis_op = determine_reindex_operator_against_reference(
test_miller_set, reference_miller_set
)
Expand Down

0 comments on commit 9abe738

Please sign in to comment.