Compare commits

...

2 Commits

Author SHA1 Message Date
3288783654 [minor] bugfix, fixed startup with PySide6
* added PySide6 to the list of possible QtGui.__package__ values
TODO: fix deprecation warnings when running with PySide6
2022-11-07 17:17:30 +01:00
a0abed7909 [minor] update documentation
* add pyyaml to the list of required modules in README.md
* delete / add some whitespaces
2022-11-07 17:11:44 +01:00
2 changed files with 7 additions and 3 deletions

View File

@ -11,6 +11,7 @@ The following packages are required:
* Python 3 * Python 3
* obspy * obspy
* pyyaml
(the following are dependencies of the above): (the following are dependencies of the above):
@ -26,16 +27,19 @@ to use the GUI:
Configurations of *datapath*, *networks*, *stations* etc. can be done in the **parameters.yaml** input file. Configurations of *datapath*, *networks*, *stations* etc. can be done in the **parameters.yaml** input file.
The main program is executed by entering The main program is executed by entering
```shell script ```shell script
python survBot.py python survBot.py
``` ```
The GUI can be loaded via The GUI can be loaded via
```shell script ```shell script
python survBotGui.py python survBotGui.py
``` ```
## Staff ## Staff
Original author: M.Paffrath (marcel.paffrath@rub.de) Original author: M.Paffrath (marcel.paffrath@rub.de)
November 2022 November 2022

View File

@ -25,7 +25,7 @@ except ImportError:
import matplotlib import matplotlib
from matplotlib.figure import Figure from matplotlib.figure import Figure
if QtGui.__package__ in ['PySide2', 'PyQt5']: if QtGui.__package__ in ['PySide2', 'PyQt5', 'PySide6']:
from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas from matplotlib.backends.backend_qt5agg import FigureCanvasQTAgg as FigureCanvas
from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT from matplotlib.backends.backend_qt5agg import NavigationToolbar2QT
else: else: