Skip to content

Commit

Permalink
Merge branch 'main' into reindex_reference_cell_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ndevenish committed Jan 11, 2024
2 parents 2727744 + 07bee6b commit 91d5025
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .conda-envs/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ conda-forge::dials-data>=2.4.72
conda-forge::docutils
conda-forge::eigen
conda-forge::future
conda-forge::gemmi>=0.6.3
conda-forge::gemmi=0.6.3
conda-forge::h5py>=3.1.0
conda-forge::hdf5<1.13
conda-forge::hdf5plugin
Expand Down
2 changes: 1 addition & 1 deletion .conda-envs/macos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ conda-forge::dials-data>=2.4.72
conda-forge::docutils
conda-forge::eigen
conda-forge::future
conda-forge::gemmi>=0.6.3
conda-forge::gemmi=0.6.3
conda-forge::h5py>=3.1.0
conda-forge::hdf5<1.13
conda-forge::hdf5plugin
Expand Down
2 changes: 1 addition & 1 deletion .conda-envs/windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ conda-forge::dials-data>=2.4.72
conda-forge::docutils
conda-forge::eigen
conda-forge::future
conda-forge::gemmi>=0.6.3
conda-forge::gemmi=0.6.3
conda-forge::h5py>=3.1.0
conda-forge::hdf5<1.13
conda-forge::hdf5plugin
Expand Down

This file was deleted.

1 change: 0 additions & 1 deletion doc/sphinx/documentation/programs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Utilities:

dials_show
dials_image_viewer
dials_reciprocal_lattice_viewer
dials_generate_mask
dials_check_indexing_symmetry
dials_search_beam_position
Expand Down
1 change: 1 addition & 0 deletions newsfragments/2572.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``dials.reciprocal_lattice_viewer``: ensure the correct panel for the beam centre is recorded when loading models.
1 change: 1 addition & 0 deletions newsfragments/2578.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pin Gemmi dependency to 0.6.3 due to windows issues.
3 changes: 3 additions & 0 deletions src/dials/util/reciprocal_lattice/viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ def __init__(self, parent, id, title, size, settings=None, *args, **kwds):
def load_models(self, experiments, reflections):
Render3d.load_models(self, experiments, reflections)
if self.settings.beam_centre is not None:
self.settings_panel.beam_panel_ctrl.SetValue(
self.settings.beam_centre_panel
)
self.settings_panel.beam_fast_ctrl.SetValue(self.settings.beam_centre[0])
self.settings_panel.beam_slow_ctrl.SetValue(self.settings.beam_centre[1])
else:
Expand Down

0 comments on commit 91d5025

Please sign in to comment.