You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running into an issue in the new pre-release that unchecking the "enable width" option in the overlay manager does not remove the overlays. Instead it spits out this:
Traceback (most recent call last):
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/image_canvas.py", line 733, in update_overlays
self.draw_overlay(overlay)
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/image_canvas.py", line 416, in draw_overlay
for axis, det_key, data in self.overlay_axes_data(overlay):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/image_canvas.py", line 363, in overlay_axes_data
data = self.iviewer.create_overlay_data(overlay)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/calibration/raw_iviewer.py", line 122, in create_overlay_data
return self.create_roi_overlay_data(overlay)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/calibration/raw_iviewer.py", line 146, in create_roi_overlay_data
prev_max = max(chain(*ret[group][data_key]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: max() arg is an empty sequence
The text was updated successfully, but these errors were encountered:
Hi all,
Running into an issue in the new pre-release that unchecking the "enable width" option in the overlay manager does not remove the overlays. Instead it spits out this:
Traceback (most recent call last):
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/image_canvas.py", line 733, in update_overlays
self.draw_overlay(overlay)
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/image_canvas.py", line 416, in draw_overlay
for axis, det_key, data in self.overlay_axes_data(overlay):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/image_canvas.py", line 363, in overlay_axes_data
data = self.iviewer.create_overlay_data(overlay)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/calibration/raw_iviewer.py", line 122, in create_overlay_data
return self.create_roi_overlay_data(overlay)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nfs/chess/user/seg246/software/anaconda3_20230506/envs/hexrdgui_pre_2025-1/lib/python3.11/site-packages/hexrdgui/calibration/raw_iviewer.py", line 146, in create_roi_overlay_data
prev_max = max(chain(*ret[group][data_key]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: max() arg is an empty sequence
The text was updated successfully, but these errors were encountered: