From 3d236dda9b1c3e9c1b5ac90bc28d5c2a345b0ff9 Mon Sep 17 00:00:00 2001
From: ldam <ldam@passcal.nmt.edu>
Date: Mon, 21 Aug 2023 15:28:18 -0600
Subject: [PATCH] convert dic_keys to list to reduce code warning

---
 .../plotting_widget/multi_threaded_plotting_widget.py         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py b/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
index 7bf3f9212..46fecb3a2 100644
--- a/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
+++ b/sohstationviewer/view/plotting/plotting_widget/multi_threaded_plotting_widget.py
@@ -121,9 +121,9 @@ class MultiThreadedPlottingWidget(PlottingWidget):
         chan_order = self.pref_order if self.pref_order \
             else sorted(list(plotting_data.keys()))
         chan_order = replace_actual_question_chans(
-            chan_order, plotting_data.keys())
+            chan_order, list(plotting_data.keys()))
         chan_order = remove_not_found_chans(
-            chan_order, plotting_data.keys(), self.processing_log)
+            chan_order, list(plotting_data.keys()), self.processing_log)
 
         not_plot_chans = []
         for chan_id in chan_order:
-- 
GitLab