Skip to content

Commit

Permalink
Fix typo in calibration inspector.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeyer committed Nov 9, 2023
1 parent f67e394 commit ca4bbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nion/swift/Inspector.py
Original file line number Diff line number Diff line change
Expand Up @@ -2264,7 +2264,7 @@ def __get_calibration(self) -> Calibration.Calibration:
index = self.__index
calibrations = self.__display_item.displayed_datum_calibrations
if self.__uniform:
unit_set = list(calibration.units if calibration.units else '' for calibration in calibrations)
unit_set = set(calibration.units if calibration.units else '' for calibration in calibrations)
if len(unit_set) > 1:
return Calibration.Calibration()
dimension_count = len(calibrations)
Expand Down

0 comments on commit ca4bbbb

Please sign in to comment.