Skip to content

Commit

Permalink
Add Pilatus900kw as default name in the error message when the detect…
Browse files Browse the repository at this point in the history
…or name is unknown
  • Loading branch information
gfreychet committed Sep 19, 2024
1 parent 3440e4e commit c2a8aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smi_analysis/SMI_beamline.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def define_detector(self):
elif self.detector == 'Eiger1M_xeuss':
self.det = Detector.Eiger1M_xeuss()
else:
raise Exception('Unknown detector for SMI. Should be either: Pilatus1m or Pilatus300kw or rayonix')
raise Exception('Unknown detector for SMI. Should be either: Pilatus1m or Pilatus900kw or Pilatus300kw or rayonix')

def open_data(self, path, lst_img, optional_mask=None):
"""
Expand Down

0 comments on commit c2a8aa2

Please sign in to comment.