From 9bc372acbf415ccc36eb8ed8607b0075c90f613e Mon Sep 17 00:00:00 2001 From: rgerum <14153051+rgerum@users.noreply.github.com> Date: Tue, 3 Dec 2024 10:36:29 -0500 Subject: [PATCH] removed debug prints in PlottingWindowBase.py --- saenopy/gui/common/PlottingWindowBase.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/saenopy/gui/common/PlottingWindowBase.py b/saenopy/gui/common/PlottingWindowBase.py index 83e542e..97110d4 100644 --- a/saenopy/gui/common/PlottingWindowBase.py +++ b/saenopy/gui/common/PlottingWindowBase.py @@ -1,6 +1,7 @@ import glob import json import os +import sys import matplotlib as mpl import numpy as np @@ -84,6 +85,7 @@ def clicked(*, index=index): try: self.add_files([filename]) except Exception as e: + print(e, file=sys.stderr) QtWidgets.QMessageBox.critical(self, "Error", f"Measurement could not be added to Analysis.\n" f"Is it evaluated completely?") return @@ -246,7 +248,6 @@ def check_results_with_time(self): data = res.get_data_structure() if data["time_delta"] is not None: time_values = True - print("time_values", time_values) if time_values is False: self.barplot() if getattr(self, "agg", None) is not None: @@ -289,10 +290,8 @@ def listSelected(self): def getAllCurrentPandasData(self): results = [] for name, checked, files, color in self.data_folders: - print(name, checked, files) if checked != 0: for name2, checked2, res, color in files: - print("name2", name2, checked2) if checked2 != 0: res.resulting_data["group"] = name results.append(res.resulting_data)