Skip to content

Commit

Permalink
Remove beam.get_s0() call.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastisme committed Oct 10, 2024
1 parent 7df425c commit 1f18b1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions newsfragments/XXX.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix reciprocal lattice viewer not working with polychromatic data due to call to beam.get_s0().
2 changes: 1 addition & 1 deletion src/dials/util/reciprocal_lattice/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def load_models(self, experiments, reflections):
self.viewer.set_rotation_axis(
self.experiments[0].goniometer.get_rotation_axis()
)
self.viewer.set_beam_vector(self.experiments[0].beam.get_s0())
self.viewer.set_beam_vector(self.experiments[0].beam.get_unit_s0())
if self.settings.beam_centre is None:
try:
(
Expand Down

0 comments on commit 1f18b1a

Please sign in to comment.