Skip to content

Commit

Permalink
Catch tuple vs list
Browse files Browse the repository at this point in the history
  • Loading branch information
terwill committed Jun 23, 2024
1 parent caf0e17 commit 3901ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iotbx/map_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ def resample_on_different_grid(self, n_real = None,

assert n_real or target_grid_spacing

if self.origin_shift_grid_units != (0,0,0):
if tuple(self.origin_shift_grid_units) != (0,0,0):
return self._resample_on_different_grid_and_rebox(n_real = n_real,
target_grid_spacing = target_grid_spacing)

Expand Down

0 comments on commit 3901ee2

Please sign in to comment.