Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • software_public/passoft/sohstationviewer
1 result
Show changes
Commits on Source (5)
......@@ -540,11 +540,14 @@ class MainWindow(QtWidgets.QMainWindow, UIMainWindow):
else:
self.min_gap = None
try:
check_chan_wildcards_format(self.mseed_wildcard_edit.text())
except Exception as e:
QtWidgets.QMessageBox.warning(self, "Incorrect Wildcard", str(e))
return
if self.mseed_wildcard_edit.text().strip() != '':
try:
check_chan_wildcards_format(self.mseed_wildcard_edit.text())
except Exception as e:
QtWidgets.QMessageBox.warning(
self, "Incorrect Wildcard", str(e))
return
try:
del self.data_object
self.processing_log = []
......
......@@ -287,8 +287,8 @@ class PlottingAxes:
:param min_y: float - minimum of y values
:param max_y: float - maximum of y values
"""
min_y = round(min_y, 7)
max_y = round(max_y, 7)
min_y = round(min_y, 2)
max_y = round(max_y, 2)
if max_y > min_y:
# There are different values for y => show yticks for min, max
# separately
......
......@@ -170,7 +170,7 @@ def check_chan_wildcards_format(wildcards: str):
:param wildcards: wildcards that are separated with ','.
:type wildcards: str
"""
for wc in wildcards.split():
for wc in wildcards.split(','):
wc = wc.strip()
if len(wc) == 1 and wc != '*':
......