Skip to content

Commit

Permalink
removed debug prints in PlottingWindowBase.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rgerum committed Dec 3, 2024
1 parent a729894 commit 9bc372a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions saenopy/gui/common/PlottingWindowBase.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import glob
import json
import os
import sys

import matplotlib as mpl
import numpy as np
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 9bc372a

Please sign in to comment.