[Bugfix]: Fix plot title in TuneAutopicker, partial fix of #266

For some reason the network.station.location.channel string wasn't split.
This commit is contained in:
Darius Arnold 2018-12-07 09:33:02 +01:00
parent 3abeabc75c
commit 6a0c1dda9d

View File

@ -3435,8 +3435,9 @@ class TuneAutopicker(QWidget):
return return
self.load_wf_data() self.load_wf_data()
try: try:
network, station, location, channel = self.get_current_station_id() network, station, location, channel = self.get_current_station_id().split(".")
except ValueError as e: except ValueError as e:
# not enough values to unpack, initialize default values
vmsg = '{0}'.format(e) vmsg = '{0}'.format(e)
print(vmsg) print(vmsg)
station = self.get_current_station() station = self.get_current_station()